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!" );
}
}
php 类方法反射
最新推荐文章于 2023-12-16 17:56:36 发布