src/Serializer/PhpSerializer.php
public function deserialize($data, array $options = [])
    {
        /** @var Message $message */
        $message = unserialize($data);
        Assertion::isInstanceOf($message, Message::class);
        return $message;
    }
public function deserialize($data, array $options = [])
    {
        /** @var Message $message */
        $message = unserialize($data);
        Assertion::isInstanceOf($message, Message::class);
        return $message;
    }
public function deserialize ( $ data , array $ options = [ ] ) { /** @var Message $message */ $ message = unserialize ( $ data ) ; Assertion :: isInstanceOf ( $ message , Message :: class ) ; return $ message ; }
{@inheritdoc}

@return Message
{ @inheritdoc }