public function importSnippets() { $dump =
$this->container->
get('dump'
);
if (!
$dump) { $result =
new FinishResult(0, 0
);
$this->
toJson(200,
$this->resultMapper->
toExtJs($result));
return;
} $conn =
$this->container->
get('db'
);
$snippetStep =
new SnippetStep($conn,
$dump);
$offset =
$this->request->
get('offset'
);
$result =
$snippetStep->
run($offset);
$this->
toJson(200,
$this->resultMapper->
toExtJs($result));
} public function applyMigrations() { /** @var Manager $migrationManger */
$migrationManger =
$this->container->
get('migration.manager'
);