Craft\Minimee_SettingsModel::getAttribute PHP Method

getAttribute() public method

Inject our model attribute accessors.
public getAttribute ( String $name, Bool $flattenValue = false ) : String | Bool
$name String
$flattenValue Bool
return String | Bool
    public function getAttribute($name, $flattenValue = false)
    {
        switch ($name) {
            case 'baseUrl':
                return $this->getBaseUrl();
            case 'cachePath':
                return $this->getCachePath();
            case 'cacheUrl':
                return $this->getCacheUrl();
            case 'cssReturnTemplate':
                return $this->getCssReturnTemplate();
            case 'cssPrependUrl':
                return $this->getCssPrependUrl();
            case 'filesystemPath':
                return $this->getFilesystemPath();
            case 'jsReturnTemplate':
                return $this->getJsReturnTemplate();
            case 'returnType':
                return $this->getReturnType();
            default:
                return parent::getAttribute($name, $flattenValue);
        }
    }