Clockwork\Web\Support\Laravel\ClockworkWebServiceProvider::boot PHP Метод

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

public boot ( )
    public function boot()
    {
        if (!$this->app['clockwork.web.support']->isEnabled()) {
            return;
            // Clockwork Web is disabled, don't register the routes
        }
        $this->app['router']->get('/__clockwork/app', 'Clockwork\\Web\\Support\\Laravel\\Controllers\\ClockworkController@render');
        $this->app['router']->get('/__clockwork/{path}', 'Clockwork\\Web\\Support\\Laravel\\Controllers\\ClockworkController@renderAsset')->where('path', '.+');
        $this->app['clockwork.web']->setCurrentRequestId($this->app['clockwork']->getRequest()->id);
        $this->app['view']->share('clockwork_web', $this->app['clockwork.web']->getIframe());
    }
ClockworkWebServiceProvider