sensio/SensioFrameworkExtraBundle — pull request #67 by cakper (2011-11-04 00:15:08+00:00)
Title: @ParamConverter improvements

Bug fix: yes
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: -

Hi,
I've made changes to DoctrineParamConveter class:
- "use Doctrine\ORM\NoResultException" was removed (unused Exception)
- ORMException catch was added in supports() method. Exception was thrown when Entity namespace alias wasn't declared. Supports() should return false instead.

Also I've created new DoctrineMongoDBParamConverter class, and put service definition in converters.xml.
When this converter is in use it is possibility to use "document_manager" option in annotation.