Laratrust\LaratrustServiceProvider::boot PHP Method

boot() public method

Bootstrap the application events.
public boot ( ) : void
return void
    public function boot()
    {
        // Register published configuration.
        $this->publishes([__DIR__ . '/../config/config.php' => app()->basePath() . '/config/laratrust.php', __DIR__ . '/../config/laratrust_seeder.php' => app()->basePath() . '/config/laratrust_seeder.php']);
        if (class_exists('\\Blade')) {
            $this->registerBladeDirectives();
        }
    }