MailPoet\EmailEditor\Validator\Schema

Number_Schema::minimum()publicWC 1.0

Sets the minimum value of the number.

Method of the class: Number_Schema{}

No Hooks.

Return

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() code WC 9.8.1

public function minimum( float $value ): self {
	return $this->update_schema_property( 'minimum', $value )
	->unset_schema_property( 'exclusiveMinimum' );
}