This commit is contained in:
as2252258@163.com
2021-05-03 04:05:36 +08:00
parent 830dfc9bfd
commit 9812888e09
+4 -1
View File
@@ -349,7 +349,10 @@ class Loader extends BaseObject
continue;
}
var_export($annotations['handler']);
if (env('worker') == 0) {
var_dump($annotations['handler']);
}
$class = $this->newInstance($annotations['handler']);
/** @var \Annotation\Attribute $value */
foreach ($annotations['target'] ?? [] as $value) {