public function temp() { $crawlerModel = new GalleryModel(); $this->viewData['images'] = $crawlerModel->getAllTempItems(); echo $this->twig->render('gallery/temp.html.twig', $this->viewData); }