Code

< 40 %
40-60 %
> 60 %
1
<?php
2
3
namespace Happyr\SerializerBundle;
4
5
use Happyr\SerializerBundle\DependencyInjection\CompilerPass\MetadataPass;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
use Symfony\Component\HttpKernel\Bundle\Bundle;
8
9
class HappyrSerializerBundle extends Bundle
10
{
11 23
    public function build(ContainerBuilder $container)
12
    {
13 23
        parent::build($container);
14 23
        $container->addCompilerPass(new MetadataPass());
15 23
    }
16
}
17