1234567891011121314151617181920212223242526272829 |
- <?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());
- }
- }
|