#!/usr/bin/env php getParameterOption(['--env', '-e'], $_SERVER['APP_ENV']); $debug = !$input->hasParameterOption('--no-debug') && (bool) $_SERVER['APP_DEBUG']; $app = new Application(new Kernel($env, $debug)); $app->run($input);