WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionAggregate::__construct() public WC 1.0

Construct.

{} It's a method of the class: DefinitionAggregate{}

No Hooks.

Return

null. Nothing.

Usage

$DefinitionAggregate = new DefinitionAggregate();
$DefinitionAggregate->__construct( $definitions );
$definitions(array)
-
Default: []

Code of DefinitionAggregate::__construct() WC 5.6.0

public function __construct(array $definitions = [])
{
    $this->definitions = array_filter($definitions, function ($definition) {
        return ($definition instanceof DefinitionInterface);
    });
}