phpBB API Documentation
Class

phpbb\di\pass\collection_pass

class collection_pass implements CompilerPassInterface

Appends an add method call to the definition of each collection service for the services tagged with the appropriate name defined in the collection's service_collection tag.

Methods

null process(ContainerBuilder $container)

Modify the container before it is passed to the rest of the code

Details

at line 32
public null process(ContainerBuilder $container)

Modify the container before it is passed to the rest of the code

Parameters

ContainerBuilder $container ContainerBuilder object

Return Value

null