| Total Complexity | 9 | 
| Total Lines | 40 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 17 | final class NotCondition implements NotConditionInterface  | 
            ||
| 18 | { | 
            ||
| 19 | public function __construct(private ExpressionInterface|array|null|string $condition)  | 
            ||
| 20 |     { | 
            ||
| 21 | }  | 
            ||
| 22 | |||
| 23 | public function getCondition(): ExpressionInterface|array|null|string  | 
            ||
| 24 |     { | 
            ||
| 25 | return $this->condition;  | 
            ||
| 26 | }  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * @throws InvalidArgumentException  | 
            ||
| 30 | */  | 
            ||
| 31 | public static function fromArrayDefinition(string $operator, array $operands): self  | 
            ||
| 32 |     { | 
            ||
| 33 | return new self(self::validateCondition($operator, $operands));  | 
            ||
| 34 | }  | 
            ||
| 35 | |||
| 36 | private static function validateCondition(string $operator, array $condition): ExpressionInterface|array|null|string  | 
            ||
| 57 | }  | 
            ||
| 58 | }  | 
            ||
| 59 |