code: protected function markAsRegistered(ServiceProvider $provider)
      {
          $this->serviceProviders[] = $provider;
  
          $this->loadedProviders[get_class($provider)] = true;
      }
docs: Mark the given provider as registered.
  
  @param  \Nur\Kernel\ServiceProvider  $provider
  @return void