You cannot 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
528 B
PHTML

<?php
namespace Base\Facade;
use Base\Tool\Request as BaseRequest;
/**
* @author elf<360197197@qq.com>
*/
class Request {
private static $instance;
public static function getInstance()
{
if (self::$instance == null) {
self::$instance = new BaseRequest();
}
return self::$instance;
}
public static function __callStatic($name, $arguments)
{
$instance = self::getInstance();
return call_user_func_array([$instance, $name], $arguments);
}
}