Exercise/FOQElasticaBundle — pull request #51 by willdurand (2011-12-20 16:55:46+00:00)
Title: Propel support

Hi there,

I started to implement a Propel integration for this bundle. There is a **major** change as the configuration was not really "opened" for other db drivers. So I changed the `doctrine` key to `persistence` which is more generic.

Then, you just have to choose the right db driver through the `driver` attribute. `orm`, `mongodb`, and `propel` are available. Some part of the configuration are Doctrine oriented, that's why you'll see some `if ('propel' === $typeConfig['driver'])` statements. The Extension class is a bit messy btw..

I don't get what are `Manager` and `Registry`, I think it's really close to Doctrine, so there is nothing like that for Propel users. The Listeners part isn't implemented as the Propel mechanism is quite different.

Cheers,
William