致命错误: Call to undefined method app\qun\hook\Content::run()
$class = $class . '->' . $method; }
elseif (is_object($class)) {
$result = $class->$method($params, $extra); $
class = get_class($class);
} elseif (strpos($class, '::')) {
$result = call_user_func_array($class, [ & $params, $extra]); }
else { $obj = new $class();
$method = ($tag && is_callable([$obj, $method])) ? $method : 'run'; $result = $obj->$method($params, $extra); }
if (App::$debug) { Debug::remark('behavior_end', 'time');
Log::record('[ BEHAVIOR ] Run ' . $class . ' @' . $tag . ' [ RunTime:' . Debug::getRangeTime('behavior_start', 'behavior_end') . 's ]', 'info'); }
return $result; }