MailPoet\EmailEditor\Validator\Schema

Object_Schema::maxProperties()publicWC 1.0

Sets the maximum number of properties in the object.

Method of the class: Object_Schema{}

No Hooks.

Return

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 9.8.1

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