| 1 | <?php |
||
| 16 | class HashCondition implements ConditionInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var array|null the condition specification. |
||
| 20 | */ |
||
| 21 | private $hash; |
||
| 22 | |||
| 23 | |||
| 24 | /** |
||
| 25 | * HashCondition constructor. |
||
| 26 | * |
||
| 27 | * @param array|null $hash |
||
| 28 | */ |
||
| 29 | 3 | public function __construct($hash) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return array|null |
||
| 36 | */ |
||
| 37 | 3 | public function getHash() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | public static function fromArrayDefinition($operator, $operands) |
||
| 49 | } |
||
| 50 |