<?php
namespace AppBundle;
use AppBundle\DependencyInjection\CompilerPass\NotificationPass;
use AppBundle\Model\Settings\ProfileRoleInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Class AppBundle.
*/
class AppBundle extends Bundle
{
/**
* {@inheritDoc}
*/
public function build(ContainerBuilder $container)
{
$container->registerForAutoconfiguration(ProfileRoleInterface::class)->addTag('app.profile_role');
$container->addCompilerPass(new NotificationPass());
}
}