Open shyim opened 1 year ago
Hello,
I would accept a PR to throw when RR_MODE
is set but the kernel is not app is not a KernelInterface
.
How did you land in that case?
We do crazy stuff with Symfony Kernels also wrapping them up 😅 https://github.com/shopware/recipes/blob/main/shopware/core/6.4/public/index.php#L53
I will make later a PR :)
It took me some time to understand that your Kernel needs to implement KernelInterface. It would be much easier when you would throw just an exception when the requirements are not met.
Is there some reason why it currently has an fallback?
https://github.com/Baldinof/roadrunner-bundle/blob/2.x/src/Runtime/Runtime.php#L19