File/src/YamlFile.php
public function setting($setting, $default = null)
    {
        $value = parent::setting($setting);
        if (null === $value) {
            $value = isset(static::$globalSettings[$setting]) ? static::$globalSettings[$setting] : $default;
        }

        return $value;
    }
public function setting($setting, $default = null)
    {
        $value = parent::setting($setting);
        if (null === $value) {
            $value = isset(static::$globalSettings[$setting]) ? static::$globalSettings[$setting] : $default;
        }

        return $value;
    }
public function setting ( $ setting , $ default = null ) { $ value = parent :: setting ( $ setting ) ; if ( null === $ value ) { $ value = isset ( static :: $ globalSettings [ $ setting ] ) ? static :: $ globalSettings [ $ setting ] : $ default ; } return $ value ; }
Get setting.

@param string $setting
@param mixed $default
@return mixed
Get setting .