Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
bundle is its own compiler pass
<?php
class App extends Bundle implements CompilerPassInterface
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass($this);
}
public function process(ContainerBuilder $container)
{
// compiler pass
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment