shlink/config/cli-config.php

12 lines
338 B
PHP
Raw Normal View History

2016-04-17 21:27:24 +03:00
<?php
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Tools\Console\ConsoleRunner;
use Interop\Container\ContainerInterface;
/** @var ContainerInterface $container */
2016-07-19 17:50:02 +03:00
$container = include __DIR__ . '/container.php';
2016-04-17 21:27:24 +03:00
/** @var EntityManager $em */
$em = $container->get(EntityManager::class);
return ConsoleRunner::createHelperSet($em);