MailPoet\EmailEditor\Validator\Schema

Integer_Schema::maximum()publicWC 1.0

Sets the maximum value of the integer.

Method of the class: Integer_Schema{}

No Hooks.

Return

null. Nothing (null).

Usage

$Integer_Schema = new Integer_Schema();
$Integer_Schema->maximum( $value ): self;
$value(int) (required)
Maximum value of the integer.

Integer_Schema::maximum() code WC 9.8.1

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