public static function settings($settings = null)
    {
        if ($settings) {
            //set mode
            self::$settings = self::mergeSettings(self::$settings, $settings);
        } else {
            //get mode
        }

        //always return settings
        return self::$settings;
    }
public static function settings($settings = null)
    {
        if ($settings) {
            //set mode
            self::$settings = self::mergeSettings(self::$settings, $settings);
        } else {
            //get mode
        }

        //always return settings
        return self::$settings;
    }
public static function settings ( $ settings = null ) { if ( $ settings ) { //set mode self :: $ settings = self :: mergeSettings ( self :: $ settings , $ settings ) ; } else { //get mode } //always return settings return self :: $ settings ; }
Config setter & getter
This serves as a settings setter and getter at the same time
Config setter & getter This serves as a settings setter and getter at the same time