src/Charcoal/Admin/Property/AbstractPropertyInput.php
public function setPlaceholder($placeholder)
    {
        if ($placeholder === null || $placeholder === '') {
            $this->placeholder = '';
            return $this;
        }

        $this->placeholder = $this->translator()->translation($placeholder);
        if ($this->placeholder instanceof Translation) {
            $this->placeholder->isRendered = false;
        } else {
            $this->placeholder = '';
        }

        return $this;
    }
public function setPlaceholder($placeholder)
    {
        if ($placeholder === null || $placeholder === '') {
            $this->placeholder = '';
            return $this;
        }

        $this->placeholder = $this->translator()->translation($placeholder);
        if ($this->placeholder instanceof Translation) {
            $this->placeholder->isRendered = false;
        } else {
            $this->placeholder = '';
        }

        return $this;
    }
public function setPlaceholder ( $ placeholder ) { if ( $ placeholder === null || $ placeholder === '' ) { $ this -> placeholder = '' ; return $ this ; } $ this -> placeholder = $ this -> translator ( ) -> translation ( $ placeholder ) ; if ( $ this -> placeholder instanceof Translation ) { $ this -> placeholder -> isRendered = false ; } else { $ this -> placeholder = '' ; } return $ this ; }
Set the form control's placeholder.

A placeholder is a hint to the user of what can be entered
in the property control.

@param  mixed $placeholder The placeholder attribute.
@return self
Set the form control s placeholder .