WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

Definition::__construct() public WC 1.0

Constructor.

{} It's a method of the class: Definition{}

No Hooks.

Return

null. Nothing.

Usage

$Definition = new Definition();
$Definition->__construct( $id, $concrete );
$id(string) (required)
-
$concrete(mixed)
-
Default: null

Code of Definition::__construct() WC 5.7.0

public function __construct(string $id, $concrete = null)
{
    $concrete = $concrete ?? $id;

    $this->alias    = $id;
    $this->concrete = $concrete;
}