mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
This commit is contained in:
parent
4c87b1db7c
commit
7d27e7dd6f
@ -46,14 +46,23 @@ class IntegerField extends BaseField
|
||||
* maximum value for this field
|
||||
* @var integer
|
||||
*/
|
||||
private $maximum_value = PHP_INT_MAX;
|
||||
private $maximum_value ;
|
||||
|
||||
/**
|
||||
* minimum value for this field
|
||||
* @var integer
|
||||
*/
|
||||
private $minimum_value = PHP_INT_MAX*-1;
|
||||
private $minimum_value ;
|
||||
|
||||
/**
|
||||
* constructor, set absolute min and max values
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent:: __construct();
|
||||
$this->minimum_value = PHP_INT_MAX*-1;
|
||||
$this->maximum_value = PHP_INT_MAX ;
|
||||
}
|
||||
|
||||
/**
|
||||
* setter for maximum value
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user