vendor/breithbarbot/cropper-bundle/BreithbarbotCropperBundle.php line 23

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Cropper package.
  4.  *
  5.  * (c) Breith Barbot <b.breith@gmail.com>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace Breithbarbot\CropperBundle;
  11. use Breithbarbot\CropperBundle\DependencyInjection\Compiler\FormPass;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. /**
  15.  * BreithbarbotCropperBundle class.
  16.  *
  17.  * @author Breith Barbot <b.breith@gmail.com>
  18.  */
  19. class BreithbarbotCropperBundle extends Bundle
  20. {
  21.     /**
  22.      * {@inheritdoc}
  23.      */
  24.     public function build(ContainerBuilder $container)
  25.     {
  26.         parent::build($container);
  27.         $container->addCompilerPass(new FormPass());
  28.     }
  29. }