改名
This commit is contained in:
+4
-3
@@ -208,9 +208,10 @@ class Event extends BaseObject
|
|||||||
if (empty($events)) {
|
if (empty($events)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
foreach ($events as $index => $event) {
|
// foreach ($events as $index => $event) {
|
||||||
$this->execute($event, $parameter);
|
// $this->execute($event, $parameter);
|
||||||
}
|
// }
|
||||||
|
call_user_func_array($events, ...$parameter);
|
||||||
if ($is_remove) {
|
if ($is_remove) {
|
||||||
$this->offName($name);
|
$this->offName($name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user