diff --git a/CHANGELOG.md b/CHANGELOG.md index fa519ad9..717d1f9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # CHANGELOG +## [3.0.8](https://github.com/apigee/apigee-client-php/milestone/32?closed=1) +* [#379] Update option-resolver's symfony component version to its latest. + ## [3.0.7](https://github.com/apigee/apigee-client-php/milestone/31?closed=1) * [#374] Bump minimum required version of symfony/serializer. * [#376] Remove symfony/serializer conflict and bump version. diff --git a/src/Api/ApigeeX/Denormalizer/AppGroupMembershipDenormalizer.php b/src/Api/ApigeeX/Denormalizer/AppGroupMembershipDenormalizer.php index 357e2912..87ee3f81 100644 --- a/src/Api/ApigeeX/Denormalizer/AppGroupMembershipDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/AppGroupMembershipDenormalizer.php @@ -61,4 +61,14 @@ public function supportsDenormalization($data, $type, $format = null) return AppGroupMembership::class === $type || $type instanceof AppGroupMembership; } + + /** + * {@inheritdoc} + */ + public function getSupportedTypes(?string $format): array + { + return [ + AppGroupMembership::class => true, + ]; + } } diff --git a/src/Api/Management/Query/StatsQueryNormalizer.php b/src/Api/Management/Query/StatsQueryNormalizer.php index 532cbf57..0bff438a 100644 --- a/src/Api/Management/Query/StatsQueryNormalizer.php +++ b/src/Api/Management/Query/StatsQueryNormalizer.php @@ -96,4 +96,14 @@ public function supportsNormalization($data, $format = null) { return $data instanceof StatsQuery; } + + /** + * {@inheritdoc} + */ + public function getSupportedTypes(?string $format): array + { + return [ + StatsQuery::class => true, + ]; + } } diff --git a/src/ClientInterface.php b/src/ClientInterface.php index 6ef44f15..b5078803 100644 --- a/src/ClientInterface.php +++ b/src/ClientInterface.php @@ -63,7 +63,7 @@ interface ClientInterface extends HttpClient */ public const APIGEE_ON_GCP_ENDPOINT = 'https://apigee.googleapis.com/v1'; - public const VERSION = '3.0.7'; + public const VERSION = '3.0.8'; /** * Allows access to the last request, response and exception. diff --git a/src/Serializer/EntitySerializer.php b/src/Serializer/EntitySerializer.php index 24e90e31..0bae115f 100755 --- a/src/Serializer/EntitySerializer.php +++ b/src/Serializer/EntitySerializer.php @@ -220,6 +220,16 @@ public function supportsEncoding($format): bool return $this->format === $format && $this->serializer->supportsEncoding($format); } + /** + * {@inheritdoc} + */ + public function getSupportedTypes(?string $format): array + { + return [ + EntitySerializerInterface::class => true, + ]; + } + /** * Allows subclasses to replace the default JSON encoder. *