vendor/trsteel/ckeditor-bundle/TrsteelCkeditorBundle.php line 10

  1. <?php
  2. namespace Trsteel\CkeditorBundle;
  3. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\HttpKernel\Bundle\Bundle;
  6. use Trsteel\CkeditorBundle\DependencyInjection\Compiler\TransformerCompilerPass;
  7. class TrsteelCkeditorBundle extends Bundle
  8. {
  9.     public function build(ContainerBuilder $container): void
  10.     {
  11.         parent::build($container);
  12.         $container->addCompilerPass(new TransformerCompilerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION0);
  13.     }
  14. }