Example #1
0
 /**
  * Show project overview
  *
  * @param RMF\Request $request
  * @return Struct\Response
  */
 public function showOverview(RMF\Request $request)
 {
     $summaries = array();
     foreach ($this->analyzers as $id => $analyzer) {
         $summaries[] = $summary = $analyzer->getSummary();
         $summary->module = $id;
     }
     return new Struct\Response('overview.twig', array('navigation' => $this->getMenuEntries(), 'summaries' => $summaries, 'annotations' => $this->gateway->getAnnotationsStats(array('user'))));
 }