Zizaco\Entrust\EntrustServiceProvider::boot PHP Method

boot() public method

Bootstrap the application events.
public boot ( ) : void
return void
    public function boot()
    {
        // Publish config files
        $this->publishes([__DIR__ . '/../config/config.php' => app()->basePath() . '/config/entrust.php']);
        // Register commands
        $this->commands('command.entrust.migration');
        // Register blade directives
        $this->bladeDirectives();
    }

Usage Example

 /**
  * Bootstrap the application services.
  *
  * @return void
  */
 public function boot()
 {
     parent::boot();
     $this->bladeDirectives();
 }
All Usage Examples Of Zizaco\Entrust\EntrustServiceProvider::boot