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.
 
 
 
 
 
 
ymww_backend/addons/shopro/facade/Base.php

27 lines
450 B

<?php
namespace addons\shopro\facade;
/**
* @see RedisManager
*
*/
class Base
{
public static function getFacadeClass()
{
error_stop('facade 初始化失败');
}
public static function instance()
{
return static::getFacadeClass();
}
public static function __callStatic($funcname, $arguments)
{
return static::instance()->{$funcname}(...$arguments);
}
}