public static function getDefaultValue($param = null)
    {
        $result = null;

        if (empty($param)) {
            return static::$defaults;
        }

        if (isset(static::$defaults[$param])) {
            $result = static::$defaults[$param];
        }

        return $result;
    }
public static function getDefaultValue($param = null)
    {
        $result = null;

        if (empty($param)) {
            return static::$defaults;
        }

        if (isset(static::$defaults[$param])) {
            $result = static::$defaults[$param];
        }

        return $result;
    }
public static function getDefaultValue ( $ param = null ) { $ result = null ; if ( empty ( $ param ) ) { return static :: $ defaults ; } if ( isset ( static :: $ defaults [ $ param ] ) ) { $ result = static :: $ defaults [ $ param ] ; } return $ result ; }
Get default configuration value for given parameter

If parameter is omitted, then all defaults are returned

@param  string $param Parameter to get default value for
@return array|string|null All values, string if found, null otherwise
Get default configuration value for given parameter