vendor/autoload_runtime.php line 35

  1. if (true === (require_once __DIR__.'/autoload.php') || empty($_SERVER['SCRIPT_FILENAME'])) {
  2.     return;
  3. }
  4. $app = require $_SERVER['SCRIPT_FILENAME'];
  5. if (!is_object($app)) {
  6.     throw new TypeError(sprintf('Invalid return value: callable object expected, "%s" returned from "%s".'get_debug_type($app), $_SERVER['SCRIPT_FILENAME']));
  7. }
  8. $runtime $_SERVER['APP_RUNTIME'] ?? $_ENV['APP_RUNTIME'] ?? 'Symfony\\Component\\Runtime\\SymfonyRuntime';
  9. $runtime = new $runtime(($_SERVER['APP_RUNTIME_OPTIONS'] ?? $_ENV['APP_RUNTIME_OPTIONS'] ?? []) + [
  10.   'project_dir' => dirname(__DIR__1),
  11. ]);
  12. [$app$args] = $runtime
  13.     ->getResolver($app)
  14.     ->resolve();
  15. $app $app(...$args);
  16. exit(
  17.     $runtime
  18.         ->getRunner($app)
  19.         ->run()
  20. );