| Total Complexity | 5 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 8 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class Filter extends CoreFilter |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @inheritDoc |
||
| 18 | */ |
||
| 19 | protected $block_filter = true; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @inheritDoc |
||
| 23 | */ |
||
| 24 | 1 | public function generateCacheKey(Request $request) |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritDoc |
||
| 34 | */ |
||
| 35 | 4 | public function parseFilterString($filter_string) |
|
| 42 | 3 | } |
|
| 43 | |||
| 44 | /** |
||
| 45 | * Set the filter type. |
||
| 46 | * |
||
| 47 | * @param string $type |
||
| 48 | * |
||
| 49 | * @return void |
||
| 50 | * |
||
| 51 | * @throws InvalidFilterTypeException |
||
| 52 | */ |
||
| 53 | 4 | protected function setFilterType(string $type) |
|
| 75 |