/** * Show theme details. * * @return void */ public function showThemeAction() { $this->view->assignMultiple(['selectedTheme' => $this->themeRepository->findByPageId($this->id), 'selectableThemes' => $this->themeRepository->findAll(), 'themeIsSelectable' => CheckPageUtility::hasThemeableSysTemplateRecord($this->id), 'pid' => $this->id]); }
/** * @test */ public function findAllTypeTest() { $this->assertGreaterThanOrEqual('array', gettype($this->fixture->findAll()), 'themes does not contain an array of themes'); }