mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-21 16:38:37 -06:00
14 lines
353 B
PHP
14 lines
353 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Doctrine\ORM\EntityManager;
|
|
use Doctrine\ORM\EntityManagerInterface;
|
|
use Psr\Container\ContainerInterface;
|
|
|
|
return (static function (): EntityManagerInterface {
|
|
/** @var ContainerInterface $container */
|
|
$container = include __DIR__ . '/container.php';
|
|
return $container->get(EntityManager::class);
|
|
})();
|