Automattic\WooCommerce\Vendor\League\Container\Definition
DefinitionAggregate::__construct()
Construct.
Метод класса: DefinitionAggregate{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$DefinitionAggregate = new DefinitionAggregate(); $DefinitionAggregate->__construct( $definitions );
- $definitions(DefinitionInterface[])
- -
По умолчанию: []
Код DefinitionAggregate::__construct() DefinitionAggregate:: construct WC 9.4.2
public function __construct(array $definitions = []) { $this->definitions = array_filter($definitions, function ($definition) { return ($definition instanceof DefinitionInterface); }); }