招标
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.
 
 
 
 
 

36 lines
586 B

<?php
/**
*
* JsFacde.php
* User: ChenLong
* DateTime: 2020/3/13 12:08
*/
namespace sdModule\makeAdminBasics\htmlUnit;
/**
*
* Class JsFacade
* @mixin Js
* @see Js
* @package sdModule\makeAdminBasics\htmlUnit
*/
class JsFacade
{
/**
* 静态处理jsCoded调用
* @param $name
* @param mixed ...$var
* @return mixed|null
*/
public static function __callStatic($name, $var)
{
$js = Js::getInstance();
if (method_exists($js, $name)) {
return $js->$name(...$var);
}
return null;
}
}