Total Complexity | 1 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
5 | class MathExpression extends PredicateExpression implements ExpressionInterface |
||
6 | { |
||
7 | /** @var string */ |
||
8 | protected $leftOperand = ''; |
||
9 | |||
10 | /** @var string */ |
||
11 | protected $rightOperand = ''; |
||
12 | |||
13 | /** @var string */ |
||
14 | protected $operator = ''; |
||
15 | |||
16 | /** |
||
17 | * Create predicate expression. |
||
18 | * |
||
19 | * @param string $leftOperand |
||
20 | * @param string $rightOperand |
||
21 | * @param string $operator |
||
22 | */ |
||
23 | public function __construct($leftOperand, $rightOperand, $operator = '+') |
||
30 |