plugin/exo/Serializer/Item/ItemSerializer.php
private function serializeHints(Item $question, array $options = [])
    {
        return array_map(function (Hint $hint) use ($options) {
            return $this->hintSerializer->serialize($hint, $options);
        }, $question->getHints()->toArray());
    }
private function serializeHints(Item $question, array $options = [])
    {
        return array_map(function (Hint $hint) use ($options) {
            return $this->hintSerializer->serialize($hint, $options);
        }, $question->getHints()->toArray());
    }
private function serializeHints ( Item $ question , array $ options = [ ] ) { return array_map ( function ( Hint $ hint ) use ( $ options ) { return $ this -> hintSerializer -> serialize ( $ hint , $ options ) ; } , $ question -> getHints ( ) -> toArray ( ) ) ; }
Serializes Item hints.
Forwards the hint serialization to HintSerializer.

@param Item  $question
@param array $options

@return array
Serializes Item hints . Forwards the hint serialization to HintSerializer .