Skip to content

Commit

Permalink
deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaEstes committed Sep 30, 2023
1 parent 8250732 commit 70e0c9d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,14 @@ public function supportsDenormalization($data, string $type, string $format = nu
{
return is_a($type, AggregateIdInterface::class, true);
}

/**
* {@inheritDoc}
*/
public function getSupportedTypes(?string $format): array
{
return [
AggregateIdInterface::class => true,
];
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,14 @@ public function supportsDenormalization($data, string $type, string $format = nu
{
return is_a($type, AggregateVersionInterface::class, true);
}

/**
* {@inheritDoc}
*/
public function getSupportedTypes(?string $format): array
{
return [
AggregateVersionInterface::class => true,
];
}
}
10 changes: 10 additions & 0 deletions packages/event-sourcing-symfony/Message/MessageNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,14 @@ public function supportsDenormalization($data, string $type, string $format = nu

return is_subclass_of($type, MessageInterface::class, true);
}

/**
* {@inheritDoc}
*/
public function getSupportedTypes(?string $format): array
{
return [
MessageInterface::class => true,
];
}
}

0 comments on commit 70e0c9d

Please sign in to comment.