public function set_html($callback_or_html) { if (is_callable($callback_or_html)) { $this->field_html = call_user_func($callback_or_html); } else { $this->field_html = $callback_or_html; } return $this; }