public function boot(): void {
    if(count($this->queue) !== 0) {
      throw new ServiceDependenciesNotRegisteredException($this->queue);
    }

    foreach($this->services as $service) {
      $service->boot();
    }
  }
public function boot(): void {
    if(count($this->queue) !== 0) {
      throw new ServiceDependenciesNotRegisteredException($this->queue);
    }

    foreach($this->services as $service) {
      $service->boot();
    }
  }
public function boot ( ) : void { if ( count ( $ this -> queue ) !== 0 ) { throw new ServiceDependenciesNotRegisteredException ( $ this -> queue ) ; } foreach ( $ this -> services as $ service ) { $ service -> boot ( ) ; } }
Boot all Service Providers

@throws  ServiceDependenciesNotRegisteredException  If any service provider's dependencies have not been registered
Boot all Service Providers