Chrisbjr\ApiGuard\Providers\ApiGuardServiceProvider::boot PHP Метод

boot() публичный Метод

Bootstrap the application services.
public boot ( ) : void
Результат void
    public function boot()
    {
        $this->commands(['Chrisbjr\\ApiGuard\\Console\\Commands\\GenerateApiKeyCommand', 'Chrisbjr\\ApiGuard\\Console\\Commands\\DeleteApiKeyCommand']);
        // Publish your migrations
        $this->publishes([__DIR__ . '/../../database/migrations/' => base_path('/database/migrations')], 'migrations');
        $this->publishes([__DIR__ . '/../../config/apiguard.php' => config_path('apiguard.php')], 'config');
    }