| 1 | <?php |
||
| 10 | class AndExpression extends Node |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | private $expressions; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param array $expressions |
||
| 19 | */ |
||
| 20 | public function __construct(array $expressions) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return array |
||
| 27 | */ |
||
| 28 | public function getExpressions(): array |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function __toString() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param Frame $frame |
||
| 43 | * @return mixed |
||
| 44 | */ |
||
| 45 | public function evaluate(Frame $frame) |
||
| 63 | } |
||
| 64 |