vendor/autoload_runtime.php line 29

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