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