We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a844195 commit 4fed3feCopy full SHA for 4fed3fe
Transport/Serialization/Serializer.php
@@ -48,7 +48,7 @@ public function __construct(SymfonySerializerInterface $serializer = null, strin
48
public static function create(): self
49
{
50
if (!class_exists(SymfonySerializer::class)) {
51
- throw new LogicException(sprintf('The default Messenger Serializer requires Symfony\'s Serializer component. Try running "composer require symfony/serializer".'));
+ throw new LogicException(sprintf('The "%s" class requires Symfony\'s Serializer component. Try running "composer require symfony/serializer" or use "%s" instead.', __CLASS__, PhpSerializer::class));
52
}
53
54
$encoders = [new XmlEncoder(), new JsonEncoder()];
0 commit comments