Automattic\WooCommerce\Api\Attributes
ScalarType::__construct
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() ScalarType:: construct code WC 10.9.1
public function __construct(
public readonly string $type,
) {
}