<?php
/**
 * Bundle Definition 
 * 
 * @author Elze Kool <info@visualmedia.nl>
 */
namespace VisualM\ManagementBundle;

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use VisualM\ManagementBundle\DependencyInjection\Compiler\FixChoiceFieldCompilerPass;

/**
 * Bundle Definition 
 * 
 * @author Elze Kool <info@visualmedia.nl>
 */
class VisualMManagementBundle extends Bundle
{
    public function build(ContainerBuilder $container)
    {
        parent::build($container);
        $container->addCompilerPass(new FixChoiceFieldCompilerPass());
    }
}
