PHP Class eZ\Bundle\EzPublishCoreBundle\Tests\DependencyInjection\Compiler\ContentViewPassTest

Inheritance: extends Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractCompilerPassTestCase
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testAddViewProvider ( )

Protected Methods

Method Description
registerCompilerPass ( ContainerBuilder $container ) Register the compiler pass under test, just like you would do inside a bundle's load() method:.

Method Details

registerCompilerPass() protected method

$container->addCompilerPass(new MyCompilerPass());
protected registerCompilerPass ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder

testAddViewProvider() public method

public testAddViewProvider ( )