plugin/exo/Serializer/Item/ItemSerializer.php
private function deserializeQuestionType(Item $question, array $data, array $options = [])
    {
        $type = $this->itemDefinitions->getConvertedType($question->getMimeType());
        $definition = $this->itemDefinitions->get($type);

        // Deserialize item type data
        $type = $definition->deserializeQuestion($data, $question->getInteraction(), $options);
        $type->setQuestion($question);
        if (in_array(Transfer::REFRESH_UUID, $options)) {
            $definition->refreshIdentifiers($question->getInteraction());
        }
    }
private function deserializeQuestionType(Item $question, array $data, array $options = [])
    {
        $type = $this->itemDefinitions->getConvertedType($question->getMimeType());
        $definition = $this->itemDefinitions->get($type);

        // Deserialize item type data
        $type = $definition->deserializeQuestion($data, $question->getInteraction(), $options);
        $type->setQuestion($question);
        if (in_array(Transfer::REFRESH_UUID, $options)) {
            $definition->refreshIdentifiers($question->getInteraction());
        }
    }
private function deserializeQuestionType ( Item $ question , array $ data , array $ options = [ ] ) { $ type = $ this -> itemDefinitions -> getConvertedType ( $ question -> getMimeType ( ) ) ; $ definition = $ this -> itemDefinitions -> get ( $ type ) ; // Deserialize item type data $ type = $ definition -> deserializeQuestion ( $ data , $ question -> getInteraction ( ) , $ options ) ; $ type -> setQuestion ( $ question ) ; if ( in_array ( Transfer :: REFRESH_UUID , $ options ) ) { $ definition -> refreshIdentifiers ( $ question -> getInteraction ( ) ) ; } }
Deserializes Item data specific to its type.
Forwards the serialization to the correct handler.

@param Item  $question
@param array $data
@param array $options
Deserializes Item data specific to its type . Forwards the serialization to the correct handler .