KnpLabs / rad-auto-registration

Auto register some common services
MIT License
8 stars 2 forks source link

Removes twig extension compiler pass #39

Open akovalyov opened 7 years ago

akovalyov commented 7 years ago

Possible fix for #38

PedroTroller commented 7 years ago

If you remove this compiler registration, then the twig extension registration will not work anymore. The rad-autoregistration automaticaly build new services tagged as twig extension but it will bé done after the twig extension autoloading by the twig bundle... I think the solution is to reapply thus compiler pass just if form extensions are autoregistred.