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