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