public function indexAction()
 {
     //$this->getTaskMapper();
     return ["posts" => $this->postService->findAllPosts()];
 }
 public function indexAction()
 {
     return new ViewModel(array('posts' => $this->postService->findAllPosts()));
 }
Beispiel #3
0
 public function indexAction()
 {
     // 128
     //echo "Hi!!!";
     return new ViewModel(array('posts' => $this->postService->findAllPosts()));
 }