Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle] Add configureContainer(), configureRoutes() and getConfigDir() to MicroKernelTrait#42991
New issue
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
The head ref may contain hidden characters:"fwb-\u00B5k"
Uh oh!
There was an error while loading.Please reload this page.
Conversation
9b735f1 to89298b9Compare| try { | ||
| $this->configureContainer(newContainerConfigurator($container,$kernelLoader,$instanceof,$file,$file,$this->getEnvironment()),$loader); | ||
| $configureContainer->getClosure($this)(newContainerConfigurator($container,$kernelLoader,$instanceof,$file,$file,$this->getEnvironment()),$loader,$container); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
3rd argument to help with#35554
lyrixx commentedSep 13, 2021
I like it 👍🏼 |
Uh oh!
There was an error while loading.Please reload this page.
…ConfigDir() to MicroKernelTrait
Nyholm commentedSep 14, 2021
Please give me another day or two to test and review this carefully. |
Nyholm left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Great. Thank you
amberovsky commentedFeb 7, 2022
@nicolas-grekas why |
nicolas-grekas commentedFeb 7, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Method from traits can be overridden in the class that uses the trait even if they are private. |
amberovsky commentedFeb 7, 2022
🤦 thank you@nicolas-grekas |
This PR aims at moving code from the Kernel's recipe to
MicroKernelTrait.It has also the benefit of not requiring ppl that don't use the router to still implement
configureRoutes()in their app.