modify
This commit is contained in:
@@ -181,8 +181,8 @@ class Node extends HttpService
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
foreach ($aspect as $value) {
|
foreach ($aspect as $value) {
|
||||||
var_dump(class_implements($value));
|
$implements = class_implements($value);
|
||||||
if ($value instanceof IAspect) {
|
if (isset($implements[IAspect::class])) {
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user