добавил абстракций и первые варианты для парсинга результатов према
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
use SvedenParser\ContingentParser\ContingentFacade;
|
||||
use SvedenParser\ContingentParser\ContingentManager;
|
||||
|
||||
require_once __DIR__ . "/vendor/autoload.php";
|
||||
|
||||
@ -36,7 +37,7 @@ function write($file, $source)
|
||||
}
|
||||
}
|
||||
|
||||
$facade = new ContingentFacade();
|
||||
$facade = new ContingentManager();
|
||||
$sourceAll = $facade->getSites();
|
||||
$all = array_column($sourceAll, 'org_id'); // все организации
|
||||
$inBase = $facade->getOrgInOpendata(); // организации уже в базе
|
||||
|
Reference in New Issue
Block a user