Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionAggregateInterface::resolve()publicWC 1.0

Resolve and build a concrete value from an id/alias.

Method of the class: DefinitionAggregateInterface{}

No Hooks.

Return

Mixed.

Usage

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

DefinitionAggregateInterface::resolve() code WC 7.3.0

public function resolve(string $id, bool $new = false);