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

That still would have worked, it just wasn't logical to consider this registration an optimization.

PassConfig registers the initial compiler passes in each group, and any added by bundles thereafter are appended to the appropriate group. ResolveDefinitionTemplatesPass (which is what I needed to have already run) is the very first pass in the optimization group.