From 53d50ec2c72d79245f79427277618393ace8de48 Mon Sep 17 00:00:00 2001 From: Tobias Gaertner Date: Mon, 28 Nov 2022 13:13:29 +0100 Subject: [PATCH] re add getter for MetadataFactory in Serializer --- src/Serializer.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Serializer.php b/src/Serializer.php index 030d9f59d..57923b080 100644 --- a/src/Serializer.php +++ b/src/Serializer.php @@ -271,4 +271,12 @@ private function convertArrayObjects($data) return $data; } + + /** + * @return MetadataFactoryInterface + */ + public function getMetadataFactory() + { + return $this->factory; + } }