src/ThemeManager/ServiceProvider.php
public function register()
    {
        $this->app->bind('theme.manager', function () {
            $basePath = Config::get('theme-manager.base_path', null);
            $requiredFields = Config::get('theme-manager.required_fields', []);
            $exceptionOnInvalid = Config::get('theme-manager.exception_on_invalid', false);

            return new ThemeManager((new Starter)->start($basePath, $requiredFields, $exceptionOnInvalid));
        });
    }
public function register()
    {
        $this->app->bind('theme.manager', function () {
            $basePath = Config::get('theme-manager.base_path', null);
            $requiredFields = Config::get('theme-manager.required_fields', []);
            $exceptionOnInvalid = Config::get('theme-manager.exception_on_invalid', false);

            return new ThemeManager((new Starter)->start($basePath, $requiredFields, $exceptionOnInvalid));
        });
    }
public function register ( ) { $ this -> app -> bind ( 'theme.manager' , function ( ) { $ basePath = Config :: get ( 'theme-manager.base_path' , null ) ; $ requiredFields = Config :: get ( 'theme-manager.required_fields' , [ ] ) ; $ exceptionOnInvalid = Config :: get ( 'theme-manager.exception_on_invalid' , false ) ; return new ThemeManager ( ( new Starter ) -> start ( $ basePath , $ requiredFields , $ exceptionOnInvalid ) ) ; } ) ; }
Register any application services.

@return void
Register any application services .