<?php
declare( strict_types = 1 );
namespace Automattic\WooCommerce\EmailEditor\Validator\Schema;
if (!defined('ABSPATH')) exit;
use Automattic\WooCommerce\EmailEditor\Validator\Schema;
class Integer_Schema extends Schema {
 protected $schema = array(
 'type' => 'integer',
 );
 public function minimum( int $value ): self {
 return $this->update_schema_property( 'minimum', $value )
 ->unset_schema_property( 'exclusiveMinimum' );
 }
 public function exclusiveMinimum( int $value ): self {
 return $this->update_schema_property( 'minimum', $value )
 ->update_schema_property( 'exclusiveMinimum', true );
 }
 public function maximum( int $value ): self {
 return $this->update_schema_property( 'maximum', $value )
 ->unset_schema_property( 'exclusiveMaximum' );
 }
 public function exclusiveMaximum( int $value ): self {
 return $this->update_schema_property( 'maximum', $value )
 ->update_schema_property( 'exclusiveMaximum', true );
 }
 public function multipleOf( int $value ): self {
 return $this->update_schema_property( 'multipleOf', $value );
 }
}
