mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-23 21:27:44 +03:00
12 lines
345 B
PHP
12 lines
345 B
PHP
|
<?php
|
||
|
use Doctrine\ORM\EntityManager;
|
||
|
use Doctrine\ORM\Tools\Console\ConsoleRunner;
|
||
|
use Interop\Container\ContainerInterface;
|
||
|
|
||
|
/** @var ContainerInterface $container */
|
||
|
$container = include __DIR__ . '/config/container.php';
|
||
|
/** @var EntityManager $em */
|
||
|
$em = $container->get(EntityManager::class);
|
||
|
|
||
|
return ConsoleRunner::createHelperSet($em);
|