We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello there!
Thanks for the amazing work with Frankenphp. It would be nice if frankenphp runtime could handle a Response object in the runtime. The SymfonyRuntime does handle it : https://github.com/symfony/runtime/blob/9889783c17e8a68fa5e88c8e8a1a85e802558dba/SymfonyRuntime.php#L137
One of the use case can be:
return function (array $context) { if ($context['APP_MAINTENANCE'] ?? false) { return new Response('MAINTENANCE IN PROGRESS', Response::HTTP_SERVICE_UNAVAILABLE); } return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); };
The text was updated successfully, but these errors were encountered:
add response runner in frankenphp (php-runtime#177)
cdc869e
3e2f1e9
38bac35
No branches or pull requests
Hello there!
Thanks for the amazing work with Frankenphp.
It would be nice if frankenphp runtime could handle a Response object in the runtime.
The SymfonyRuntime does handle it : https://github.com/symfony/runtime/blob/9889783c17e8a68fa5e88c8e8a1a85e802558dba/SymfonyRuntime.php#L137
One of the use case can be:
The text was updated successfully, but these errors were encountered: