Hello there!
I was wondering if it is a bug or not? (Please see the link)
Why is the current container not passed to the module's autoloader registration method?
I noticed that this is only relevant for the application Phalcon\Cli\Console.
Details
Bug for sure.
Thank you, @niden. Maybe in this situation, make the container argument mandatory in the registerAutoloaders () method?
@TimurFlush Unfortunately we cannot do that because it will break the interface and we are only allowed to do that during major versions i.e. v5. We can correct this however by just injecting the container in the place you mentioned.
If it not too much trouble can you send a PR for this? If not I will try and get that sorted out
@niden , it's clear
Please check: https://github.com/phalcon/cphalcon/pull/14790
Resolved in https://github.com/phalcon/cphalcon/pull/14790 Thank you!
Most helpful comment
@niden , it's clear
Please check: https://github.com/phalcon/cphalcon/pull/14790