变更
This commit is contained in:
+2
-2
@@ -45,9 +45,9 @@ class EventDispatch extends Component implements EventDispatcherInterface
|
|||||||
try {
|
try {
|
||||||
$current = $lists->current();
|
$current = $lists->current();
|
||||||
if (is_array($current)) {
|
if (is_array($current)) {
|
||||||
var_dump($current[0]::class, $current[1]);
|
$this->logger->alert($current[0]::class . '::' . $current[1]);
|
||||||
} else if (is_string($current)) {
|
} else if (is_string($current)) {
|
||||||
var_dump($current);
|
$this->logger->alert($current);
|
||||||
}
|
}
|
||||||
call_user_func($current, $event);
|
call_user_func($current, $event);
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
|
|||||||
Reference in New Issue
Block a user