Automattic\WooCommerce\EmailEditor\Validator\Schema
Number_Schema::maximum
Sets the maximum value of the number.
Method of the class: Number_Schema{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Number_Schema = new Number_Schema(); $Number_Schema->maximum( $value ): self;
- $value(float) (required)
- Maximum value of the number.
Number_Schema::maximum() Number Schema::maximum code WC 10.6.2
public function maximum( float $value ): self {
return $this->update_schema_property( 'maximum', $value )
->unset_schema_property( 'exclusiveMaximum' );
}