Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionAggregateInterface::resolvepublicWC 1.0

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

Method of the class: DefinitionAggregateInterface{}

No Hooks.

Returns

Mixed.

Usage

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

DefinitionAggregateInterface::resolve() code WC 9.9.4

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