Esempio n. 1
0
 /**
  * @return string
  */
 protected function renderInner()
 {
     if ($this->inner instanceof Renderable) {
         return $this->inner->render();
     }
     return $this->inner;
 }
Esempio n. 2
0
 /**
  * @param mixed $model
  */
 public function save($model)
 {
     if ($this->content instanceof FormInterface) {
         $this->content->save($model);
     }
 }