WooCommerce Code Reference

DefinitionAggregate
in package
implements DefinitionAggregateInterface Uses ContainerAwareTrait

Interfaces, Classes and Traits

DefinitionAggregateInterface

Table of Contents

$container  : ContainerInterface
$definitions  : array<string|int, DefinitionInterface>
$leagueContainer  : Container
__construct()  : mixed
Construct.
add()  : DefinitionInterface
Add a definition to the aggregate.
getContainer()  : ContainerInterface
Get the container.
getDefinition()  : DefinitionInterface
Get the definition to be extended.
getIterator()  : Generator
{@inheritdoc}
getLeagueContainer()  : Container
Get the container.
has()  : bool
Checks whether alias exists as definition.
hasTag()  : bool
Checks whether tag exists as definition.
resolve()  : mixed
Resolve and build a concrete value from an id/alias.
resolveTagged()  : mixed
Resolve and build an array of concrete values from a tag.
setContainer()  : ContainerAwareInterface
Set a container.
setLeagueContainer()  : self
Set a container.

Properties

Methods