vmelnik-ukraine/DoctrineEncryptBundle — pull request #3 by mkraemer (2012-12-18 14:36:34+00:00)
Title: Initialization of the extension now compatible with symfony 2.1

Currently the extension is not compatible with symfony 2.1 because of the extension alias which differs from what symfony would generate based on the name of the bundle:

LogicException: The extension alias for the default extension of a bundle must be the underscored version of the bundle name ("v_melnik_doctrine_encrypt" instead of "vmelnik_doctrine_encrypt")

To be able to continue using "vmelnik_doctrine_encrypt" instead of "v_melnik_doctrine_encrypt", it is necessary to implement the getAlias()-Method of the extension. Additionally, the container extension has to be created manually instead of letting Symfony\Component\HttpKernel\Bundle\Bundle->getContainerExtension() take a guess at the extension name.

I'm not sure if this changeset breaks backwards compatibilty with symfony 2.0. Maybe you could consider creating a symfony 2.1 branch of your bundle :)

Thx