protected function addFieldType(&$property, Field $field)
    {
        $params = $this->getMethodParamerters($field);
        $property .= sprintf("%s('%s'%s)", $this->getPropertyBase($field->getEloquentDataMethod()), $field->name, $params);

        return $this;
    }
protected function addFieldType(&$property, Field $field)
    {
        $params = $this->getMethodParamerters($field);
        $property .= sprintf("%s('%s'%s)", $this->getPropertyBase($field->getEloquentDataMethod()), $field->name, $params);

        return $this;
    }
protected function addFieldType ( & $ property , Field $ field ) { $ params = $ this -> getMethodParamerters ( $ field ) ; $ property .= sprintf ( "%s('%s'%s)" , $ this -> getPropertyBase ( $ field -> getEloquentDataMethod ( ) ) , $ field -> name , $ params ) ; return $ this ; }
Adds a 'field type' to the property

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

@return $this
Adds a field type to the property