Total Complexity | 12 |
Total Lines | 69 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class AboveRule extends AbstractAtomicRule |
||
8 | { |
||
9 | /** @var string operator */ |
||
10 | const operator = '>'; |
||
11 | |||
12 | /** @var scalar $minimum */ |
||
13 | protected $minimum; |
||
14 | |||
15 | /** |
||
16 | * @param string $field The field to apply the rule on. |
||
17 | * @param array $value The value the field can above to. |
||
18 | */ |
||
19 | public function __construct( $field, $minimum ) |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @deprecated getLowerLimit |
||
38 | */ |
||
39 | public function getMinimum() |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | */ |
||
46 | public function getLowerLimit() |
||
47 | { |
||
48 | return $this->minimum; |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * @return array |
||
53 | */ |
||
54 | public function getValues() |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * Checks if the rule do not expect the value to be above infinity. |
||
61 | * |
||
62 | * @return bool |
||
63 | */ |
||
64 | public function hasSolution(array $simplification_options=[]) |
||
80 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.