vendor/php-flasher/flasher-sweet-alert-symfony/FlasherSweetAlertSymfonyBundle.php line 10

Open in your IDE?
  1. <?php
  2. namespace Flasher\SweetAlert\Symfony;
  3. use Flasher\SweetAlert\Symfony\DependencyInjection\FlasherSweetAlertExtension;
  4. use Flasher\Symfony\Bridge\FlasherBundle;
  5. use Flasher\Symfony\DependencyInjection\Compiler\ResourceCompilerPass;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. class FlasherSweetAlertSymfonyBundle extends FlasherBundle // Symfony\Component\HttpKernel\Bundle\Bundle
  8. {
  9.     protected function flasherBuild(ContainerBuilder $container)
  10.     {
  11.         $container->addCompilerPass(new ResourceCompilerPass($this->getFlasherContainerExtension()));
  12.     }
  13.     protected function getFlasherContainerExtension()
  14.     {
  15.         return new FlasherSweetAlertExtension();
  16.     }
  17. }