$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'
);
$migrationStep =
new MigrationStep($migrationManger);
$offset =
$this->request->
get('offset'
);
$total =
$this->request->
get('total'
);
$result =
$migrationStep->
run($offset,
$total);
$this->
toJson(200,
$this->resultMapper->
toExtJs($result));
} /**
* @throws RuntimeException
*/