html = $html; $this->label = Arr::get($arguments, 0); } /** * @return $this */ public function plain() { $this->plain = true; return $this; } /** * Render html field. * * @return string */ public function render() { if ($this->html instanceof \Closure) { $this->html = Helper::render( $this->html->call($this->values(), $this->form) ); } if ($this->plain) { return $this->html; } $viewClass = $this->getViewElementClasses(); return <<
{$this->html}
EOT; } }