plugin/exo/Serializer/Item/HintSerializer.php
public function deserialize($data, Hint $hint = null, array $options = [])
    {
        $hint = $hint ?: new Hint();
        $this->sipe('id', 'setUuid', $data, $hint);
        $this->sipe('penalty', 'setPenalty', $data, $hint);
        $this->sipe('value', 'setData', $data, $hint);

        if (in_array(Transfer::REFRESH_UUID, $options)) {
            $hint->refreshUuid();
        }

        return $hint;
    }
public function deserialize($data, Hint $hint = null, array $options = [])
    {
        $hint = $hint ?: new Hint();
        $this->sipe('id', 'setUuid', $data, $hint);
        $this->sipe('penalty', 'setPenalty', $data, $hint);
        $this->sipe('value', 'setData', $data, $hint);

        if (in_array(Transfer::REFRESH_UUID, $options)) {
            $hint->refreshUuid();
        }

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

@param array $data
@param Hint  $hint
@param array $options

@return Hint
Converts raw data into a Hint entity .