Compare commits

..

No commits in common. "0a170072ba2723b8fa82942b7b49c47179031cfd" and "53a8a50623ebf4a49fea4164eee6a3dc7e827380" have entirely different histories.

View File

@ -80,7 +80,9 @@ 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);
foreach($objectResolver->getAnnotationListFromClassname( $this->annotations['method'], false ) as $func => $cronard) { $taskList = $objectResolver->getAnnotationListFromClassname( $this->annotations['method'], false );
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 ];
} }