2019-12-27 14:02:43 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2020-01-01 21:11:53 +01:00
|
|
|
use Mezzio\Application;
|
2019-12-27 14:02:43 +01:00
|
|
|
use Psr\Container\ContainerInterface;
|
|
|
|
|
|
2021-07-19 19:59:41 +02:00
|
|
|
return static function (): void {
|
2019-12-27 14:02:43 +01:00
|
|
|
/** @var ContainerInterface $container */
|
|
|
|
|
$container = include __DIR__ . '/container.php';
|
2021-07-19 19:59:41 +02:00
|
|
|
$app = $container->get(Application::class);
|
2019-12-27 14:02:43 +01:00
|
|
|
|
|
|
|
|
$app->run();
|
|
|
|
|
};
|