id = $id; $this->name = $name; $this->required = $required; $this->type = $type; $this->value = $value; } /** * Get the view / contents that represent the component. * * @return \Illuminate\Contracts\View\View|\Closure|string */ public function render() { return view('components.form-control-input'); } }