Exercise/FOQElasticaBundle — comment on commit 19d89504eae9b8c177a0a3d49a0763da1ede4773
File: FOQElasticaBundle.php line 20
By jmikola:

`TYPE_BEFORE_OPTIMIZATION` is the default. The problem was that I validate the classes of each service registered (to help ensure the registry only returns ProviderInterface instances), and since the providers created by this bundle's extension decorate an abstract definition, I need the optimization pass to resolve those decorations.

Registering the services isn't logically an optimization, so I thought to use `TYPE_BEFORE_REMOVING` instead of `TYPE_OPTIMIZE`.