/** * Display the form content. * * @return string */ function __toString() { $content = $this->object->getContent(); if ($content instanceof View) { return $content->render(); } return ''; }
/** * Get the form content. * * @return null|string */ public function getFormContent() { return $this->form->getContent(); }