1 | <?php |
||
12 | trait MinMaxTrait |
||
13 | { |
||
14 | /** |
||
15 | * @Exclude |
||
16 | * @var integer Specifies the lower bounds for numeric values (the value must be greater than or equal to this value) |
||
17 | */ |
||
18 | private $minInclusive = null; |
||
19 | /** |
||
20 | * @Exclude |
||
21 | * @var integer Specifies the upper bounds for numeric values (the value must be less than or equal to this value) |
||
22 | */ |
||
23 | private $maxInclusive = null; |
||
24 | |||
25 | /** |
||
26 | * @param int $v Specifies the upper bounds for numeric values (the value must be less than this value) |
||
27 | */ |
||
28 | public function setMaxExclusive($v) |
||
32 | |||
33 | /** |
||
34 | * @param int $v Specifies the upper bounds for numeric values (the value must be less than or equal to this value) |
||
35 | */ |
||
36 | public function setMaxInclusive($v) |
||
40 | |||
41 | /** |
||
42 | * @param int $v Specifies the lower bounds for numeric values (the value must be greater than this value) |
||
43 | */ |
||
44 | public function setMinExclusive($v) |
||
48 | |||
49 | /** |
||
50 | * @param int $v Specifies the lower bounds for numeric values (the value must be greater than or equal to this value) |
||
51 | */ |
||
52 | public function setMinInclusive($v) |
||
57 | |||
58 | public function CheckMinMax($v) |
||
71 | } |