Skip to content

Commit

Permalink
Merge pull request #5 from EmicoEcommerce/hotfix/serialize
Browse files Browse the repository at this point in the history
Hotfix serialize: add datetime class.
  • Loading branch information
bramstroker authored Oct 8, 2019
2 parents 342e500 + 3b6d7b2 commit dc0536d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Queue/Serializer/EventSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
namespace Emico\RobinHqLib\Queue\Serializer;


use DateTimeImmutable;
use Emico\RobinHqLib\Event\CustomerEvent;
use Emico\RobinHqLib\Event\EventInterface;
use Emico\RobinHqLib\Event\OrderEvent;
Expand Down Expand Up @@ -37,7 +38,8 @@ public function unserializeEvent(string $event): EventInterface
CustomerEvent::class,
Customer::class,
OrderEvent::class,
Order::class
Order::class,
DateTimeImmutable::class
]
]
);
Expand Down

0 comments on commit dc0536d

Please sign in to comment.