| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | abstract class AFilterEntry implements Interfaces\IFilterEntry |
||
| 12 | { |
||
| 13 | /** @var string[] */ |
||
| 14 | protected static $relations = []; |
||
| 15 | |||
| 16 | /** @var string */ |
||
| 17 | protected $key = ''; |
||
| 18 | /** @var string */ |
||
| 19 | protected $relation = self::RELATION_EQUAL; |
||
| 20 | |||
| 21 | 6 | public function setKey(string $key): Interfaces\IFilterEntry |
|
| 22 | { |
||
| 23 | 6 | $this->key = $key; |
|
| 24 | 6 | return $this; |
|
| 25 | } |
||
| 26 | |||
| 27 | 7 | public function getKey(): string |
|
| 28 | { |
||
| 29 | 7 | return $this->key; |
|
| 30 | } |
||
| 31 | |||
| 32 | 9 | public function setRelation(string $relation): Interfaces\IFilterEntry |
|
| 36 | } |
||
| 37 | |||
| 38 | 8 | public function getRelation(): string |
|
| 43 |