| @@ 35-53 (lines=19) @@ | ||
| 32 | /** |
|
| 33 | * {@inheritdoc} |
|
| 34 | */ |
|
| 35 | public function getCapabilities(): Capabilities |
|
| 36 | { |
|
| 37 | return Capabilities::create([ |
|
| 38 | 'can_set_parent' => false, |
|
| 39 | 'can_query_count' => true, |
|
| 40 | 'supported_comparators' => [ |
|
| 41 | Comparison::EQUALS, |
|
| 42 | Comparison::NOT_EQUALS, |
|
| 43 | Comparison::LESS_THAN, |
|
| 44 | Comparison::LESS_THAN_EQUAL, |
|
| 45 | Comparison::GREATER_THAN, |
|
| 46 | Comparison::GREATER_THAN_EQUAL, |
|
| 47 | Comparison::IN, |
|
| 48 | Comparison::NOT_IN, |
|
| 49 | Comparison::CONTAINS, |
|
| 50 | Comparison::NULL, |
|
| 51 | ], |
|
| 52 | ]); |
|
| 53 | } |
|
| 54 | ||
| 55 | /** |
|
| 56 | * {@inheritdoc} |
|
| @@ 34-54 (lines=21) @@ | ||
| 31 | /** |
|
| 32 | * {@inheritdoc} |
|
| 33 | */ |
|
| 34 | public function getCapabilities(): Capabilities |
|
| 35 | { |
|
| 36 | return Capabilities::create([ |
|
| 37 | 'can_set_parent' => false, |
|
| 38 | 'can_query_count' => true, |
|
| 39 | 'supported_comparators' => [ |
|
| 40 | Comparison::EQUALS, |
|
| 41 | Comparison::NOT_EQUALS, |
|
| 42 | Comparison::LESS_THAN, |
|
| 43 | Comparison::LESS_THAN_EQUAL, |
|
| 44 | Comparison::GREATER_THAN, |
|
| 45 | Comparison::GREATER_THAN_EQUAL, |
|
| 46 | Comparison::IN, |
|
| 47 | Comparison::NOT_IN, |
|
| 48 | Comparison::CONTAINS, |
|
| 49 | Comparison::NOT_CONTAINS, |
|
| 50 | Comparison::NULL, |
|
| 51 | Comparison::NOT_NULL, |
|
| 52 | ], |
|
| 53 | ]); |
|
| 54 | } |
|
| 55 | ||
| 56 | /** |
|
| 57 | * {@inheritdoc} |
|
| @@ 44-63 (lines=20) @@ | ||
| 41 | /** |
|
| 42 | * {@inheritdoc} |
|
| 43 | */ |
|
| 44 | public function getCapabilities(): Capabilities |
|
| 45 | { |
|
| 46 | return Capabilities::create([ |
|
| 47 | 'can_set_parent' => true, |
|
| 48 | 'supported_comparators' => [ |
|
| 49 | Comparison::EQUALS, |
|
| 50 | Comparison::NOT_EQUALS, |
|
| 51 | Comparison::LESS_THAN, |
|
| 52 | Comparison::LESS_THAN_EQUAL, |
|
| 53 | Comparison::GREATER_THAN, |
|
| 54 | Comparison::GREATER_THAN_EQUAL, |
|
| 55 | Comparison::IN, |
|
| 56 | Comparison::NOT_IN, |
|
| 57 | Comparison::CONTAINS, |
|
| 58 | Comparison::NOT_CONTAINS, |
|
| 59 | Comparison::NULL, |
|
| 60 | Comparison::NOT_NULL, |
|
| 61 | ], |
|
| 62 | ]); |
|
| 63 | } |
|
| 64 | ||
| 65 | /** |
|
| 66 | * {@inheritdoc} |
|