MailPoet\EmailEditor\Validator\Schema
Number_Schema::maximum()
Sets the maximum value of the number.
Method of the class: Number_Schema{}
No Hooks.
Return
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 9.8.1
public function maximum( float $value ): self { return $this->update_schema_property( 'maximum', $value ) ->unset_schema_property( 'exclusiveMaximum' ); }