WooCommerce Code Reference

ServiceProviderAggregateInterface extends ContainerAwareInterface, IteratorAggregate

Table of Contents

add()  : self
Add a service provider to the aggregate.
getContainer()  : ContainerInterface
Get the container
getLeagueContainer()  : Container
Get the container. This will be removed in favour of getContainer returning Container in next major release.
provides()  : bool
Determines whether a service is provided by the aggregate.
register()  : void
Invokes the register method of a provider that provides a specific service.
setContainer()  : self
Set a container
setLeagueContainer()  : self
Set a container. This will be removed in favour of setContainer receiving Container in next major release.

Methods