placeholder; } /** * Set the placeholder * * @param ?string $placeholder * * @return $this */ public function setPlaceholder(?string $placeholder): self { $this->placeholder = $placeholder; return $this; } protected function registerAttributeCallbacks(Attributes $attributes): void { parent::registerAttributeCallbacks($attributes); $attributes->registerAttributeCallback('placeholder', [$this, 'getPlaceholder'], [$this, 'setPlaceholder']); } }