src/Settings/HasSettings.php
protected function getSettingsConfig()
    {
        if (isset($this->settingsConfig)) {
            $fullNamespace = $this->settingsConfig;
        } else {
            $className = $this->getShortClassName();

            $fullNamespace = NameResolver::makeConfigFileName($className);
        }

        if (class_exists($fullNamespace)) {
            return new $fullNamespace($this);
        }

        throw ResourceNotFound::resourceConfigNotFound($fullNamespace);
    }
protected function getSettingsConfig()
    {
        if (isset($this->settingsConfig)) {
            $fullNamespace = $this->settingsConfig;
        } else {
            $className = $this->getShortClassName();

            $fullNamespace = NameResolver::makeConfigFileName($className);
        }

        if (class_exists($fullNamespace)) {
            return new $fullNamespace($this);
        }

        throw ResourceNotFound::resourceConfigNotFound($fullNamespace);
    }
protected function getSettingsConfig ( ) { if ( isset ( $ this -> settingsConfig ) ) { $ fullNamespace = $ this -> settingsConfig ; } else { $ className = $ this -> getShortClassName ( ) ; $ fullNamespace = NameResolver :: makeConfigFileName ( $ className ) ; } if ( class_exists ( $ fullNamespace ) ) { return new $ fullNamespace ( $ this ) ; } throw ResourceNotFound :: resourceConfigNotFound ( $ fullNamespace ) ; }
Get the settings class name.

@throws ResourceNotFound

@return \LaravelPropertyBag\Settings\ResourceConfig
Get the settings class name .