Skip to content

Commit

Permalink
Merge pull request #113 from adrienbrault/metadata-factory-getter
Browse files Browse the repository at this point in the history
Add Serializer::getMetadataFactory
  • Loading branch information
schmittjoh committed Jul 8, 2013
2 parents 30422b6 + b160e25 commit 607e79c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/JMS/Serializer/Serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,12 @@ public function deserialize($data, $type, $format, DeserializationContext $conte

return $visitorResult;
}

/**
* @return MetadataFactoryInterface
*/
public function getMetadataFactory()
{
return $this->factory;
}
}

0 comments on commit 607e79c

Please sign in to comment.