schmittjoh/JMSSecurityExtraBundle — pull request #158 by FlyingDR (2013-12-03 14:28:28+00:00)
Title: Fixed incorrect passing of metadata cache instance to metadata factory service

[```MetadataFactory```](https://github.com/schmittjoh/metadata/blob/master/src/Metadata/MetadataFactory.php) used by this bundle can cache collected metadata information but [service configuration](https://github.com/schmittjoh/JMSSecurityExtraBundle/blob/master/Resources/config/services.xml#L95) for it is incorrect - it passes cache as constructor argument while ```MetadataFactory``` expects it to be passed as [separate method call](https://github.com/schmittjoh/metadata/blob/master/src/Metadata/MetadataFactory.php#L55).

Because of this incompatibility current version of bundle actually never uses cache for classes metadata.