initial commit
This commit is contained in:
11
cli-config.php
Normal file
11
cli-config.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
// cli-config.php - Konfiguration für Doctrine CLI Tools
|
||||
|
||||
use Doctrine\ORM\Tools\Console\ConsoleRunner;
|
||||
use Doctrine\ORM\Tools\Console\EntityManagerProvider\SingleManagerProvider;
|
||||
|
||||
$entityManager = require __DIR__ . '/doctrine-config.php';
|
||||
|
||||
return ConsoleRunner::createApplication(
|
||||
new SingleManagerProvider($entityManager)
|
||||
);
|
||||
Reference in New Issue
Block a user