PHP 5.3 classes that extend doctrine DBAL using an entity-manager relationship with hooks for Silex