protected function addFieldComment(&$property, Field $field)
    {
        if (!empty($field->comment)) {
            $property .= sprintf("->comment('%s')", $field->comment);
        }

        return $this;
    }
protected function addFieldComment(&$property, Field $field)
    {
        if (!empty($field->comment)) {
            $property .= sprintf("->comment('%s')", $field->comment);
        }

        return $this;
    }
protected function addFieldComment ( & $ property , Field $ field ) { if ( ! empty ( $ field -> comment ) ) { $ property .= sprintf ( "->comment('%s')" , $ field -> comment ) ; } return $ this ; }
Adds the field's "comment" value to the given property.

@param string $property
@param CrestApps\CodeGenerator\Models\Field $field

@return $this
Adds the field s comment value to the given property .