You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
314 B
PHTML

5 years ago
<?php
// Doctrine CLI config
use CubiStore\Web\Main;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Tools\Console\ConsoleRunner;
require_once __DIR__ . '/../vendor/autoload.php';
$main = Main::make('dev');
$entityManager = $main->get(EntityManager::class);
return ConsoleRunner::createHelperSet($entityManager);