shlink/config/cli-config.php

13 lines
280 B
PHP
Raw Normal View History

2016-04-17 21:27:24 +03:00
<?php
2019-10-05 18:26:10 +03:00
2017-10-12 11:13:20 +03:00
declare(strict_types=1);
2016-04-17 21:27:24 +03:00
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Tools\Console\ConsoleRunner;
return (static function () {
/** @var EntityManager $em */
$em = include __DIR__ . '/entity-manager.php';
2019-10-05 18:26:10 +03:00
return ConsoleRunner::createHelperSet($em);
})();