You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
782 B
30 lines
782 B
|
9 years ago
|
<?php
|
||
|
|
|
||
|
|
/*
|
||
|
|
* This file is part of the FOSUserBundle package.
|
||
|
|
*
|
||
|
|
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
|
||
|
|
*
|
||
|
|
* For the full copyright and license information, please view the LICENSE
|
||
|
|
* file that was distributed with this source code.
|
||
|
|
*/
|
||
|
|
|
||
|
|
namespace FOS\UserBundle;
|
||
|
|
|
||
|
|
use FOS\UserBundle\DependencyInjection\Compiler\ValidationPass;
|
||
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @author Matthieu Bontemps <matthieu@knplabs.com>
|
||
|
|
* @author Thibault Duplessis <thibault.duplessis@gmail.com>
|
||
|
|
*/
|
||
|
|
class FOSUserBundle extends Bundle
|
||
|
|
{
|
||
|
|
public function build(ContainerBuilder $container)
|
||
|
|
{
|
||
|
|
parent::build($container);
|
||
|
|
$container->addCompilerPass(new ValidationPass());
|
||
|
|
}
|
||
|
|
}
|