| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 14 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 47 | public function filterCache( | ||
| 48 | string $path, | ||
| 49 | string $filter, | ||
| 50 | array $config = [], | ||
| 51 | ?string $resolver = null | ||
| 52 |     ): string { | ||
| 53 | $path = parse_url($path, PHP_URL_PATH); | ||
| 54 | |||
| 55 |         if (!empty($config)) { | ||
| 56 | $path = $this->cache->getRuntimePath($path, $config); | ||
| 57 | } | ||
| 58 | |||
| 59 | return $this->cache->resolve($path, $filter, $resolver); | ||
| 60 | } | ||
| 61 | |||
| 70 |