-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
Description
Having something to do in my kernel->boot() method I noticed this behaviour: the method is called twice when running a command.
https://github.com/symfony/framework-bundle/blob/master/Console/Application.php#L65
https://github.com/symfony/framework-bundle/blob/master/Console/Application.php#L161
Is there a reason?
My Kernel.php boot method ends up like this, to avoid double booting stuff
public function boot()
{
if (!$this->booted) {
[...]
}
parent::boot();
}
adegrenand and mdeboer