Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionAggregate::__construct()publicWC 1.0

Construct.

Метод класса: DefinitionAggregate{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$DefinitionAggregate = new DefinitionAggregate();
$DefinitionAggregate->__construct( $definitions );
$definitions(DefinitionInterface[])
-
По умолчанию: []

Код DefinitionAggregate::__construct() WC 7.1.0

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