plugin/exo/Serializer/Item/ItemObjectSerializer.php
public function deserialize($data, ItemObject $itemObject = null, array $options = [])
    {
        $itemObject = $itemObject ?: new ItemObject();

        $this->sipe('id', 'setUuid', $data, $itemObject);

        if (in_array(Transfer::REFRESH_UUID, $options)) {
            $itemObject->refreshUuid();
        }
        $this->sipe('type', 'setMimeType', $data, $itemObject);
        $this->sipe('url', 'setData', $data, $itemObject);
        $this->sipe('data', 'setData', $data, $itemObject);

        return $itemObject;
    }
public function deserialize($data, ItemObject $itemObject = null, array $options = [])
    {
        $itemObject = $itemObject ?: new ItemObject();

        $this->sipe('id', 'setUuid', $data, $itemObject);

        if (in_array(Transfer::REFRESH_UUID, $options)) {
            $itemObject->refreshUuid();
        }
        $this->sipe('type', 'setMimeType', $data, $itemObject);
        $this->sipe('url', 'setData', $data, $itemObject);
        $this->sipe('data', 'setData', $data, $itemObject);

        return $itemObject;
    }
public function deserialize ( $ data , ItemObject $ itemObject = null , array $ options = [ ] ) { $ itemObject = $ itemObject ? : new ItemObject ( ) ; $ this -> sipe ( 'id' , 'setUuid' , $ data , $ itemObject ) ; if ( in_array ( Transfer :: REFRESH_UUID , $ options ) ) { $ itemObject -> refreshUuid ( ) ; } $ this -> sipe ( 'type' , 'setMimeType' , $ data , $ itemObject ) ; $ this -> sipe ( 'url' , 'setData' , $ data , $ itemObject ) ; $ this -> sipe ( 'data' , 'setData' , $ data , $ itemObject ) ; return $ itemObject ; }
Converts raw data into a ItemObject entity.

@param array      $data
@param ItemObject $itemObject
@param array      $options

@return ItemObject
Converts raw data into a ItemObject entity .