vendor/autoload_runtime.php line 45

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. if (PHP_VERSION_ID < 80000 && in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
  7. ob_start();
  8. $app = require $_SERVER['SCRIPT_FILENAME'];
  9. ob_end_clean();
  10. } else {
  11. $app = require $_SERVER['SCRIPT_FILENAME'];
  12. }
  13. if (!is_object($app)) {
  14. throw new TypeError(sprintf('Invalid return value: callable object expected, "%s" returned from "%s".', get_debug_type($app), $_SERVER['SCRIPT_FILENAME']));
  15. }
  16. $runtime = $_SERVER['APP_RUNTIME'] ?? $_ENV['APP_RUNTIME'] ?? 'Symfony\\Component\\Runtime\\SymfonyRuntime';
  17. $runtime = new $runtime(($_SERVER['APP_RUNTIME_OPTIONS'] ?? $_ENV['APP_RUNTIME_OPTIONS'] ?? []) + [
  18. 'prod_envs' =>
  19. array (
  20. 0 => 'eaa_live',
  21. 1 => 'meo_live',
  22. ),
  23. 'test_envs' =>
  24. array (
  25. 0 => 'eaa_test',
  26. 1 => 'meo_test',
  27. ),
  28. 'project_dir' => dirname(__DIR__, 1),
  29. ]);
  30. [$app, $args] = $runtime
  31. ->getResolver($app)
  32. ->resolve();
  33. $app = $app(...$args);
  34. exit(
  35. $runtime
  36. ->getRunner($app)
  37. ->run()
  38. );