Symfony2 & MongoDB ODM: Creating custom types with dependencies

Matthias Noback