PFinal\Wechat\Support\Cache::__callStatic PHP Method

__callStatic() public static method

public static __callStatic ( $name, $arguments )
    public static function __callStatic($name, $arguments)
    {
        self::init();
        if (method_exists(self::$cache, $name)) {
            return call_user_func_array([self::$cache, $name], $arguments);
        }
        throw new \Exception('Call to undefined method ' . __CLASS__ . '::' . $name . '()');
    }