| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 66.67% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class HashCondition implements ConditionInterface |
||
| 11 | { |
||
| 12 | private ?array $hash = []; |
||
| 13 | |||
| 14 | 626 | public function __construct(?array $hash = []) |
|
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return array|null the condition specification. |
||
| 21 | */ |
||
| 22 | 626 | public function getHash(): ?array |
|
| 25 | } |
||
| 26 | |||
| 27 | public static function fromArrayDefinition(string $operator, array $operands): self |
||
| 32 |