Initial commit
This commit is contained in:
commit
e6ad944f79
22 files changed
+6566
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<?php declare(strict_types=1);
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use Doctrine\ORM\Tools\Console\ConsoleRunner;
|
||||
use Doctrine\ORM\Tools\Console\EntityManagerProvider\SingleManagerProvider;
|
||||
|
||||
$dotenv = Dotenv\Dotenv::createImmutable([__DIR__, __DIR__ . "/.."]);
|
||||
$dotenv->load();
|
||||
|
||||
require_once __DIR__ . '/../src/dependencies.php';
|
||||
global $container;
|
||||
|
||||
ConsoleRunner::run(
|
||||
new SingleManagerProvider($container->get(EntityManager::class))
|
||||
);
|
||||
Reference in new issue
Block a user