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; + } }