src/Bridge/HttpApi/Worker/SerializationWorker.php
public function handle($object)
    {
        if (isset($this->deserialization['serializer'])) {
            $serializer = $this->deserialization['serializer'];
        } else {
            $serializer = $this->getDefaultSerializer();
        }

        $object = $serializer->deserialize(
            $object,
            $this->deserialization['type'],
            $this->source['format']
        );

        return $object;
    }
public function handle($object)
    {
        if (isset($this->deserialization['serializer'])) {
            $serializer = $this->deserialization['serializer'];
        } else {
            $serializer = $this->getDefaultSerializer();
        }

        $object = $serializer->deserialize(
            $object,
            $this->deserialization['type'],
            $this->source['format']
        );

        return $object;
    }
public function handle ( $ object ) { if ( isset ( $ this -> deserialization [ 'serializer' ] ) ) { $ serializer = $ this -> deserialization [ 'serializer' ] ; } else { $ serializer = $ this -> getDefaultSerializer ( ) ; } $ object = $ serializer -> deserialize ( $ object , $ this -> deserialization [ 'type' ] , $ this -> source [ 'format' ] ) ; return $ object ; }
{@inheritdoc}
{