MailPoet\EmailEditor\Validator\Schema

Integer_Schema::minimum()publicWC 1.0

Sets the minimum value of the integer.

Method of the class: Integer_Schema{}

No Hooks.

Return

null. Nothing (null).

Usage

$Integer_Schema = new Integer_Schema();
$Integer_Schema->minimum( $value ): self;
$value(int) (required)
Minimum value of the integer.

Integer_Schema::minimum() code WC 9.8.2

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