plugin/exo/Serializer/Item/ItemSerializer.php
private function serializeObjects(Item $question, array $options = [])
    {
        return array_values(array_map(function (ItemObject $object) use ($options) {
            return $this->itemObjectSerializer->serialize($object, $options);
        }, $question->getObjects()->toArray()));
    }
private function serializeObjects(Item $question, array $options = [])
    {
        return array_values(array_map(function (ItemObject $object) use ($options) {
            return $this->itemObjectSerializer->serialize($object, $options);
        }, $question->getObjects()->toArray()));
    }
private function serializeObjects ( Item $ question , array $ options = [ ] ) { return array_values ( array_map ( function ( ItemObject $ object ) use ( $ options ) { return $ this -> itemObjectSerializer -> serialize ( $ object , $ options ) ; } , $ question -> getObjects ( ) -> toArray ( ) ) ) ; }
Serializes Item objects.
Forwards the object serialization to ItemObjectSerializer.

@param Item  $question
@param array $options

@return array
Serializes Item objects . Forwards the object serialization to ItemObjectSerializer .