src/Transfer/EzPlatform/Repository/Values/ContentTypeObject.php
public function addFieldDefinitionObject($identifier, $fieldDefinition)
    {
        $this->data['fields'][$identifier] = $this->convertToFieldDefintionObject($identifier, $fieldDefinition);
    }
public function addFieldDefinitionObject($identifier, $fieldDefinition)
    {
        $this->data['fields'][$identifier] = $this->convertToFieldDefintionObject($identifier, $fieldDefinition);
    }
public function addFieldDefinitionObject ( $ identifier , $ fieldDefinition ) { $ this -> data [ 'fields' ] [ $ identifier ] = $ this -> convertToFieldDefintionObject ( $ identifier , $ fieldDefinition ) ; }
Convert parameters to FieldDefinitionObject and stores it on the ContentTypeObject.

@param string                      $identifier
@param array|FieldDefinitionObject $fieldDefinition
Convert parameters to FieldDefinitionObject and stores it on the ContentTypeObject .