for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Ivory Serializer bundle package.
*
* (c) Eric GELOEN <[email protected]>
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Ivory\SerializerBundle;
use Ivory\SerializerBundle\DependencyInjection\Compiler\RegisterCachePoolPass;
use Ivory\SerializerBundle\DependencyInjection\Compiler\RegisterClassMetadataLoaderPass;
use Ivory\SerializerBundle\DependencyInjection\Compiler\RegisterFOSServicePass;
use Ivory\SerializerBundle\DependencyInjection\Compiler\RegisterListenerPass;
use Ivory\SerializerBundle\DependencyInjection\Compiler\RegisterTypePass;
use Ivory\SerializerBundle\DependencyInjection\Compiler\RegisterVisitorPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* @author GeLo <[email protected]>
class IvorySerializerBundle extends Bundle
{
* {@inheritdoc}
public function build(ContainerBuilder $container)
$container
->addCompilerPass(new RegisterCachePoolPass())
->addCompilerPass(new RegisterClassMetadataLoaderPass())
->addCompilerPass(new RegisterListenerPass())
->addCompilerPass(new RegisterFOSServicePass())
->addCompilerPass(new RegisterTypePass())
->addCompilerPass(new RegisterVisitorPass());
}