php 类方法反射

来源:互联网 发布:网络修复dns配置 编辑:程序博客网 时间:2024/06/04 19:20
public function __call ( $name , $arguments ){    if ( is_callable ( array( $this->medoo , $name ) ) ) {        array_unshift ( $arguments , $this->table );        return call_user_func_array ( array( $this->medoo , $name ) , $arguments );    } else {        throw new \Exception( "The $name method does not exist or can not be called!" );    }}
0 0