Automattic\WooCommerce\Api\Attributes

ScalarType::__constructpublicWC 1.0

Constructor.

Method of the class: ScalarType{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ScalarType = new ScalarType();
$ScalarType->__construct( readonly string $type, );
public readonly string $type(required)

.

(required)

.

ScalarType::__construct() code WC 10.9.1

public function __construct(
	public readonly string $type,
) {
}