public static function __callstatic($index, $params = false)
    {
        if (array_key_exists($index, self::$instances)) {
            self::setCurrentID($index);
            $that = self::getInstance();

            return $that;
        }

        array_unshift($params, $index);

        return call_user_func_array([__CLASS__, 'getOption'], $params);
    }
public static function __callstatic($index, $params = false)
    {
        if (array_key_exists($index, self::$instances)) {
            self::setCurrentID($index);
            $that = self::getInstance();

            return $that;
        }

        array_unshift($params, $index);

        return call_user_func_array([__CLASS__, 'getOption'], $params);
    }
public static function __callstatic ( $ index , $ params = false ) { if ( array_key_exists ( $ index , self :: $ instances ) ) { self :: setCurrentID ( $ index ) ; $ that = self :: getInstance ( ) ; return $ that ; } array_unshift ( $ params , $ index ) ; return call_user_func_array ( [ __CLASS__ , 'getOption' ] , $ params ) ; }
Access the configuration parameters.

@param string $index
@param array  $params

@return mixed
Access the configuration parameters .