- Matching attributes instead of annotation from now on
This commit is contained in:
parent
7ee7f3b014
commit
ac576c23f3
|
@ -80,7 +80,7 @@ class EventFetcher {
|
|||
# Should generate an equivalent of Ulmus's object reflection here !
|
||||
$objectResolver = new ObjectResolver($class, true, true, false, true);
|
||||
|
||||
foreach($objectResolver->getAnnotationListFromClassname( $this->annotations['method'], false ) as $func => $events) {
|
||||
foreach($objectResolver->getAttributeListFromClassname( $this->annotations['method'], false ) as $func => $events) {
|
||||
foreach($events as $ev) {
|
||||
$list[] = new \Mcnd\Event\Event(name: $ev->name, class: $class, method: $func, attribute: $ev);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue