/** * action showKategorie * * @param \Parrotmedia\Pmfaq\Domain\Model\Kategorie $kategorie * * @return void */ public function showKategorieAction(\Parrotmedia\Pmfaq\Domain\Model\Kategorie $kategorie) { $GLOBALS['TSFE']->indexedDocTitle = $kategorie->getName(); $entries = $this->eintragRepository->findByKategorie($kategorie); $this->view->assign('entries', $entries); $this->view->assign('kategorie', $kategorie); $this->view->assign('backPid', intval($GLOBALS['TSFE']->id)); }
/** * @test */ public function setNameForStringSetsName() { $this->subject->setName('Conceived at T3CON10'); $this->assertAttributeEquals('Conceived at T3CON10', 'name', $this->subject); }