Closed
Description
I want add 3rd required parameter to constructor of my AppKernel. But this constructor calls somewhere where I don't know:
web/app.php
,web/app_dev.php
,app/console
- in unserialization of Kernel
- in cache:clear command
- maybe also somewhere.
The problem is that constructor not defined as final and no any interface that dissallow me to change its signature. But in fact - this is hardcoded.
So I propose add something like app kernel initialiser (service) which would calls in described above places.