public function imageEditor(\Newscoop\Image\Rendition $rendition, \Newscoop\Image\ImageInterface $image) { $this->view->rendition = $rendition; $this->view->image = $image; return $this->view->render('image/editor.phtml'); }