new static()

2019-03-31  本文已影响0人  我的楼兰0909
public static function __callStatic($method, $args)
    {
        $model = new static();

        return call_user_func_array([$model->db(), $method], $args);
    }
上一篇 下一篇

猜你喜欢

热点阅读