mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-22 08:56:42 -06:00
14 lines
364 B
PHP
14 lines
364 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
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);
|