boot() публичный Метод

Executed immediately after initialization of ServiceLocator it's the first place where CommandExtensions can be registered.
public boot ( Dumplie\SharedKernel\Application\ServiceLocator $serviceLocator )
$serviceLocator Dumplie\SharedKernel\Application\ServiceLocator
Пример #1
0
 function it_builds_itself_using_extensions(Extension $extension, ServiceLocator $locator, ServiceContainer $container)
 {
     $extension->build($container)->shouldBeCalled();
     $extension->boot($locator)->shouldBeCalled();
     $this->register($extension);
     $this->build($container);
     $this->boot($locator);
 }