Automattic\WooCommerce\EmailEditor\Validator\Schema
Integer_Schema::maximum
Sets the maximum value of the integer.
Method of the class: Integer_Schema{}
No Hooks.
Returns
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() Integer Schema::maximum code WC 10.8.1
public function maximum( int $value ): self {
return $this->update_schema_property( 'maximum', $value )
->unset_schema_property( 'exclusiveMaximum' );
}