Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionAggregate::resolve()publicWC 1.0

{@inheritdoc}

Method of the class: DefinitionAggregate{}

No Hooks.

Return

null. Nothing (null).

Usage

$DefinitionAggregate = new DefinitionAggregate();
$DefinitionAggregate->resolve( $id, $new );
$id(string) (required)
-
$new(true|false)
-
Default: false

DefinitionAggregate::resolve() code WC 8.9.0

public function resolve(string $id, bool $new = false)
{
    return $this->getDefinition($id)->resolve($new);
}