Recca0120\LaravelTracy\LaravelTracyServiceProvider::register PHP Метод

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

Register the service provider.
public register ( )
    public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../config/tracy.php', 'tracy');
        $this->app->singleton(Debugbar::class, function ($app) {
            $config = Arr::get($app['config'], 'tracy', []);
            return new Debugbar($config, $app['request'], $app);
        });
        $this->app->singleton(StoreWrapper::class, StoreWrapper::class);
        $this->app->singleton(BlueScreen::class, BlueScreen::class);
        if ($this->app['config']['tracy.panels.terminal'] === true) {
            $this->app->register(TerminalServiceProvider::class);
        }
    }

Same methods

LaravelTracyServiceProvider::register ( ) : void