public static __callStatic ( $method, $args ) : mixed | ||
$method | ||
$args | ||
return | mixed |
public static function __callStatic($method, $args)
{
if (in_array($method, self::$type)) {
array_push($args, $method);
return call_user_func_array('\\think\\Log::record', $args);
}
}