改名
This commit is contained in:
@@ -203,17 +203,14 @@ class Annotation extends Component
|
|||||||
$this->_annotations[$name] = [];
|
$this->_annotations[$name] = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
$array = [];
|
|
||||||
foreach ($attributes as $attribute) {
|
foreach ($attributes as $attribute) {
|
||||||
/** @var IAnnotation $class */
|
/** @var IAnnotation $class */
|
||||||
$class = $this->instance($attribute);
|
$class = $this->instance($attribute);
|
||||||
if ($class === null) {
|
if ($class === null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$array[] = $class->execute([$object, $method->getName()]);
|
$this->_annotations[$name][] = $class->execute([$object, $method->getName()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->_annotations[$name][] = $array;
|
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user