$console = new \Symfony\Component\Console\Application();
$app->register(
new \Kurl\Silex\Provider\DoctrineMigrationsProvider($console),
array(
'migrations.directory' => __DIR__ . '/../path/to/migrations',
'migrations.namespace' => 'Acme\Migrations',
)
);
$app->boot();
$console->run();
$console = new \Symfony\Component\Console\Application();
$app->register(
new \Kurl\Silex\Provider\DoctrineMigrationsProvider(),
array(
'migrations.directory' => __DIR__ . '/../path/to/migrations',
'migrations.namespace' => 'Acme\Migrations',
)
);
// Register helper set and commands from the `DoctrineMigrationsProvider`
$console->setHelperSet($app['migrations.em_helper_set']);
$console->addCommands($app['migrations.commands']);
$console->run();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.