. */ namespace vierbergenlars\AuthserverExternalAccountBundle; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; use vierbergenlars\AuthserverExternalAccountBundle\DependencyInjection\CompilerPass\ExternalAccountProviderPass; class AuthserverExternalAccountBundle extends Bundle { const EXTERNAL_ACCOUNT_PROVIDER_TAG = 'vierbergenlars.external_account.provider'; public function build(ContainerBuilder $container) { $container->addCompilerPass(new ExternalAccountProviderPass()); } }