Automattic\WooCommerce\EmailEditor\Validator\Schema

Object_Schema::maxPropertiespublicWC 1.0

Sets the maximum number of properties in the object.

Method of the class: Object_Schema{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Object_Schema = new Object_Schema();
$Object_Schema->maxProperties( $value ): self;
$value(int) (required)
Maximum number of properties in the object.

Object_Schema::maxProperties() code WC 10.5.0

public function maxProperties( int $value ): self {
	return $this->update_schema_property( 'maxProperties', $value );
}