In Symfony 3.2, besides configuring the compiler pass type, you can also configure a priority. Refs https://github.com/symfony/symfony/pull/18022