vendor/ibexa/image-picker/src/bundle/IbexaImagePickerBundle.php line 16

Open in your IDE?
  1. <?php
  2. /**
  3.  * @copyright Copyright (C) Ibexa AS. All rights reserved.
  4.  * @license For full copyright and license information view LICENSE file distributed with this source code.
  5.  */
  6. declare(strict_types=1);
  7. namespace Ibexa\Bundle\ImagePicker;
  8. use Ibexa\Bundle\ImagePicker\DependencyInjection\Compiler\ImagePickerAdminUiOverridePass;
  9. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  10. use Symfony\Component\DependencyInjection\ContainerBuilder;
  11. use Symfony\Component\HttpKernel\Bundle\Bundle;
  12. final class IbexaImagePickerBundle extends Bundle
  13. {
  14.     public function build(ContainerBuilder $container): void
  15.     {
  16.         $container->addCompilerPass(new ImagePickerAdminUiOverridePass(), PassConfig::TYPE_BEFORE_OPTIMIZATION1);
  17.     }
  18. }