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