vendor/ibexa/image-editor/src/bundle/IbexaImageEditorBundle.php line 15

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\ImageEditor;
  8. use Ibexa\Bundle\ImageEditor\DependencyInjection\Configuration\Parser\ImageEditor;
  9. use Symfony\Component\DependencyInjection\ContainerBuilder;
  10. use Symfony\Component\HttpKernel\Bundle\Bundle;
  11. final class IbexaImageEditorBundle extends Bundle
  12. {
  13.     public function build(ContainerBuilder $container)
  14.     {
  15.         /** @var \Ibexa\Bundle\Core\DependencyInjection\IbexaCoreExtension $core */
  16.         $core $container->getExtension('ibexa');
  17.         $core->addConfigParser(new ImageEditor());
  18.     }
  19. }
  20. class_alias(IbexaImageEditorBundle::class, 'Ibexa\Platform\Bundle\ImageEditor\IbexaPlatformImageEditorBundle');