/**
  * @return string
  */
 public function __invoke()
 {
     $viewModel = new ViewModel(['newsList' => $this->newsService->getActiveNews()]);
     $viewModel->setTemplate('helper/newsWidget');
     return $this->getView()->render($viewModel);
 }
 public function indexAction()
 {
     $pageNumber = (int) $this->params()->fromRoute('page');
     $newsList = $this->newsService->getActiveNews($pageNumber);
     return ['newsList' => $newsList];
 }