This commit is contained in:
2022-06-23 00:38:28 +08:00
parent ffefd79006
commit af3ed4a235
+2 -2
View File
@@ -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) {