Mpociot\ApiDoc\ApiDocGeneratorServiceProvider::boot PHP 메소드

boot() 공개 메소드

Bootstrap the application events.
public boot ( ) : void
리턴 void
    public function boot()
    {
        $this->loadViewsFrom(__DIR__ . '/../../resources/views/', 'apidoc');
        $this->loadTranslationsFrom(__DIR__ . '/../../resources/lang', 'apidoc');
        $this->publishes([__DIR__ . '/../../resources/lang' => $this->resource_path('lang/vendor/apidoc'), __DIR__ . '/../../resources/views' => $this->resource_path('views/vendor/apidoc')]);
    }
ApiDocGeneratorServiceProvider