for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the OpenapiBundle package.
*
* (c) Niels Nijens <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nijens\OpenapiBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\Serializer\DependencyInjection\SerializerPass;
/**
* OpenapiBundle.
* @author Niels Nijens <[email protected]>
class NijensOpenapiBundle extends Bundle
{
public function build(ContainerBuilder $container): void
parent::build($container);
$container->addCompilerPass(
new SerializerPass('nijens_openapi.serializer', 'nijens_openapi.serializer.normalizer')
);
}