val($html); } /** * Get or set the element's content * * @param null|string $html * @return string|$this */ public function val($html = null) { if($html !== null) { $this->html = $html; return $this; } return $this->html; } /** * The HTML representation of this element * * @return string */ public function toHTML() { return $this->val(); } }