This commit is contained in:
2021-02-23 14:59:59 +08:00
parent 7dcfd45986
commit d63cdfa39a
+1
View File
@@ -164,6 +164,7 @@ class Annotation extends Component
$object->{$value->getName()} = $annotation;
} else {
$name = 'set' . ucfirst($value->getName());
var_dump($name);
if (!method_exists($object, $name)) {
throw new NotFindPropertyException('set property need method ' . $name);
}