plugin/exo/Serializer/Item/Type/OpenQuestionSerializer.php
public function deserialize($data, OpenQuestion $openQuestion = null, array $options = [])
    {
        if (empty($openQuestion)) {
            $openQuestion = new OpenQuestion();
        }
        $this->sipe('maxLength', 'setAnswerMaxLength', $data, $openQuestion);

        return $openQuestion;
    }
public function deserialize($data, OpenQuestion $openQuestion = null, array $options = [])
    {
        if (empty($openQuestion)) {
            $openQuestion = new OpenQuestion();
        }
        $this->sipe('maxLength', 'setAnswerMaxLength', $data, $openQuestion);

        return $openQuestion;
    }
public function deserialize ( $ data , OpenQuestion $ openQuestion = null , array $ options = [ ] ) { if ( empty ( $ openQuestion ) ) { $ openQuestion = new OpenQuestion ( ) ; } $ this -> sipe ( 'maxLength' , 'setAnswerMaxLength' , $ data , $ openQuestion ) ; return $ openQuestion ; }
Converts raw data into an Open question entity.

@param array        $data
@param OpenQuestion $openQuestion
@param array        $options

@return OpenQuestion
Converts raw data into an Open question entity .