Caffeinated\Themes\ThemesServiceProvider::registerServices PHP Method

registerServices() protected method

Register the package services.
protected registerServices ( ) : void
return void
    protected function registerServices()
    {
        $this->app->singleton('themes', function ($app) {
            return new Themes($app['files'], $app['config'], $app['view']);
        });
        $this->app->booting(function ($app) {
            $app['themes']->register();
        });
    }