/** * @return mixed */ public function current() { return $this->rootFactory->createView(parent::current()); }
/** * Create a view for an object * * @param $object * * @return View */ protected function createViewFor($object) { return $this->rootFactory->createView($object); }