. * */ use Ampache\Module\Application\ApplicationRunner; use Ampache\Module\Application\Shout\AddShoutAction; use Ampache\Module\Application\Shout\ShowAction; use Ampache\Module\Application\Shout\ShowAddShoutAction; use Nyholm\Psr7Server\ServerRequestCreatorInterface; use Psr\Container\ContainerInterface; /** @var ContainerInterface $dic */ $dic = require __DIR__ . '/../src/Config/Init.php'; $dic->get(ApplicationRunner::class)->run( $dic->get(ServerRequestCreatorInterface::class)->fromGlobals(), [ AddShoutAction::REQUEST_KEY => AddShoutAction::class, ShowAddShoutAction::REQUEST_KEY => ShowAddShoutAction::class, ShowAction::REQUEST_KEY => ShowAction::class, ], ShowAction::REQUEST_KEY );