shlink/config/run.php

15 lines
298 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
2020-01-01 23:11:53 +03:00
use Mezzio\Application;
use Psr\Container\ContainerInterface;
return static function (): void {
/** @var ContainerInterface $container */
$container = include __DIR__ . '/container.php';
$app = $container->get(Application::class);
$app->run();
};