protected function registerCompilerPass(ContainerBuilder $container) { $container->addCompilerPass(new ViewProvidersPass()); }