Automattic\WooCommerce\Api\Attributes

Metadata::__constructprivateWC 1.0

Constructor.

Method of the class: Metadata{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->__construct( string $name, bool|int|float|string|null $value, );
private string $name(required)
.
private bool|int|float|string|null $value(required)

.

(required)

.

Metadata::__construct() code WC 10.9.1

public function __construct(
	private string $name,
	private bool|int|float|string|null $value,
) {
}