仓库模式基类 $method(...$parameters); } /** * @Auth: kingofzihua * @param $method function name * @param $parameters parameter * @return mixed */ public function __call($method, $parameters) { return (new static)-$method(...$parameter
          
 $method(...$parameters);
    }
    /**
     * @Auth: kingofzihua
     * @param $method function name
     * @param $parameters parameter
     * @return mixed
     */
    public function __call($method, $parameters)
    {
        return (new static)->$method(...$parameters);
    }
}
        
        