name; } private function getTitle(): string { return Str::ucfirst($this->title); } private function getType(): string { return $this->type; } private function getValue(): string { return (string) old($this->getRequestName(), $this->value); } /** * @inheritDoc */ public function render(): View { return view('private.components.forms.input', [ 'title' => $this->getTitle(), 'name' => $this->getName(), 'requestName' => $this->getRequestName(), 'type' => $this->getType(), 'value' => $this->getValue() ]); } }