Compare commits

..

2 Commits

View File

@ -80,9 +80,7 @@ class TaskFetcher {
# Should generate an equivalent of Ulmus's object reflection here ! # Should generate an equivalent of Ulmus's object reflection here !
$objectResolver = new ObjectResolver($class, true, true, false, true); $objectResolver = new ObjectResolver($class, true, true, false, true);
$taskList = $objectResolver->getAnnotationListFromClassname( $this->annotations['method'], false ); foreach($objectResolver->getAnnotationListFromClassname( $this->annotations['method'], false ) as $func => $cronard) {
foreach($taskList as $func => $cronard) {
foreach($cronard as $task) { foreach($cronard as $task) {
$list[] = [ 'class' => $class, 'method' => $func, 'annotation' => $task ]; $list[] = [ 'class' => $class, 'method' => $func, 'annotation' => $task ];
} }