protected function getFieldPlaceHolder(Label $placeholder = null)
    {
        if (is_null($placeholder)) {
            return '';
        }

        return empty($placeholder) ? '' : sprintf(' placeholder="%s"', $this->getTitle($placeholder, true));
    }
protected function getFieldPlaceHolder(Label $placeholder = null)
    {
        if (is_null($placeholder)) {
            return '';
        }

        return empty($placeholder) ? '' : sprintf(' placeholder="%s"', $this->getTitle($placeholder, true));
    }
protected function getFieldPlaceHolder ( Label $ placeholder = null ) { if ( is_null ( $ placeholder ) ) { return '' ; } return empty ( $ placeholder ) ? '' : sprintf ( ' placeholder="%s"' , $ this -> getTitle ( $ placeholder , true ) ) ; }
Get the placeholder attribute.

@param CrestApps\CodeGenerator\Models\Label $placeholder

@return string
Get the placeholder attribute .