code: public function register()
      {
          $this->registerFactory();
          $this->registerViewFinder();
          $this->registerEngineResolver();
          $this->registerBladeEngine($this->app['view.engine.resolver']);
          $this->registerDirectives($this->app['blade.compiler']);
      }
docs: Register the service provider.
  
  @return void
  @throws