UseDoctrineMigrationServiceProvider

This commit is contained in:
Nicolas Le Goff
2013-11-07 18:03:12 +01:00
parent c3947844e0
commit 431d2532e2

View File

@@ -22,6 +22,7 @@ use Alchemy\Phrasea\Command\Setup\Install;
use Alchemy\Phrasea\Command\Setup\PluginsReset; use Alchemy\Phrasea\Command\Setup\PluginsReset;
use Alchemy\Phrasea\CLI; use Alchemy\Phrasea\CLI;
use Alchemy\Phrasea\Command\Setup\CheckEnvironment; use Alchemy\Phrasea\Command\Setup\CheckEnvironment;
use Alchemy\Phrasea\Core\CLIProvider\DoctrineMigrationServiceProvider;
require_once __DIR__ . '/../vendor/autoload.php'; require_once __DIR__ . '/../vendor/autoload.php';
@@ -45,6 +46,9 @@ $app = new CLI("
under certain conditions; type `about:license' for details.\n\n" under certain conditions; type `about:license' for details.\n\n"
. ' SETUP', Version::getName() . ' ' . Version::getNumber()); . ' SETUP', Version::getName() . ' ' . Version::getNumber());
$app->register(new DoctrineMigrationServiceProvider());
$app->command(new \module_console_aboutAuthors('about:authors')); $app->command(new \module_console_aboutAuthors('about:authors'));
$app->command(new \module_console_aboutLicense('about:license')); $app->command(new \module_console_aboutLicense('about:license'));