Automattic\WooCommerce\EmailEditor\Validator\Schema
Integer_Schema::exclusiveMaximum
Sets the exclusiveMaximum property to true.
Method of the class: Integer_Schema{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Integer_Schema = new Integer_Schema(); $Integer_Schema->exclusiveMaximum( $value ): self;
- $value(int) (required)
- Maximum value of the integer.
Integer_Schema::exclusiveMaximum() Integer Schema::exclusiveMaximum code WC 10.5.0
public function exclusiveMaximum( int $value ): self {
return $this->update_schema_property( 'maximum', $value )
->update_schema_property( 'exclusiveMaximum', true );
}