/** * Default setter for placeholder attribute */ public function setAttributes() { if ($this->settings->getValue(InputSettings::PLACEHOLDER_PARAM)) { $this->element->setAttribute('placeholder', $this->settings->getValue(InputSettings::PLACEHOLDER_PARAM)); } }