public function build(ContainerBuilder $container): void
    {
        parent::build($container);

        $container->addCompilerPass(new AddMenuVotersPass());
        $container->addCompilerPass(new ReplaceMenuMatcherPass());
        $container->addCompilerPass(new ConfigureAmazonMetaPass());
    }
public function build(ContainerBuilder $container): void
    {
        parent::build($container);

        $container->addCompilerPass(new AddMenuVotersPass());
        $container->addCompilerPass(new ReplaceMenuMatcherPass());
        $container->addCompilerPass(new ConfigureAmazonMetaPass());
    }
public function build ( ContainerBuilder $ container ) : void { parent :: build ( $ container ) ; $ container -> addCompilerPass ( new AddMenuVotersPass ( ) ) ; $ container -> addCompilerPass ( new ReplaceMenuMatcherPass ( ) ) ; $ container -> addCompilerPass ( new ConfigureAmazonMetaPass ( ) ) ; }
Add the menu matcher compiler.

@param ContainerBuilder $container The container.

@return void
Add the menu matcher compiler .