Commit 94ab74d1 authored by Avris's avatar Avris

v4.0

parent 7f628e36
#!/usr/bin/env php
<?php
use Avris\Micrus\Bootstrap\App;
use Avris\Micrus\Bootstrap\AbstractApp;
use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Tools\Console\ConsoleRunner;
......@@ -16,7 +16,7 @@ foreach (['', '/..', '/../..', '/../../..'] as $dir) {
}
/** @var EntityManager $em */
$em = (new App('cli', dirname(dirname($autoloader))))->getContainer()->get('orm')->getEntityManager();
$em = (new AbstractApp('cli', dirname(dirname($autoloader))))->getContainer()->get('orm')->getEntityManager();
$app = new Application('Doctrine');
$helperSet = $app->getHelperSet();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment