You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
553 B
26 lines
553 B
<?php
|
|
/**
|
|
* @Author: Jaeger <hj.q@qq.com>
|
|
* @Date: 2015-11-11 17:52:40
|
|
* @Last Modified by: Jaeger
|
|
* @Last Modified time: 2015-12-24 18:07:24
|
|
* @version 1.0.1
|
|
* 扩展基类
|
|
*/
|
|
namespace QL\Ext;
|
|
|
|
use QL\QueryList,ReflectionMethod;
|
|
|
|
abstract class AQuery
|
|
{
|
|
abstract function run(array $args);
|
|
|
|
public function getInstance($className = 'QL\QueryList')
|
|
{
|
|
$args = func_get_args();
|
|
$getInstance = new ReflectionMethod('QL\QueryList::getInstance');
|
|
return $getInstance->invokeArgs(null,$args);
|
|
}
|
|
|
|
}
|