18 lines
509 B
PHP
Executable File
18 lines
509 B
PHP
Executable File
<?php
|
|
|
|
namespace Mautic\ApiBundle;
|
|
|
|
use Mautic\ApiBundle\DependencyInjection\Compiler\SerializerPass;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
|
|
class MauticApiBundle extends Bundle
|
|
{
|
|
public function build(ContainerBuilder $container): void
|
|
{
|
|
parent::build($container);
|
|
|
|
$container->addCompilerPass(new SerializerPass(), \Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, 0);
|
|
}
|
|
}
|