| Conditions | 4 | 
| Paths | 3 | 
| Total Lines | 15 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 27 | return 'Remove a set of static pages from the cache';  | 
            ||
| 28 | }  | 
            ||
| 29 | |||
| 30 | /**  | 
            ||
| 31 | * @param string $url  | 
            ||
| 32 | * @param int $priority  | 
            ||
| 33 | */  | 
            ||
| 34 | protected function processUrl(string $url, int $priority): void  | 
            ||
| 35 |     { | 
            ||
| 36 | $meta = Publisher::singleton()->purgeURL($url);  | 
            ||
| 37 | $meta = is_array($meta) ? $meta : [];  | 
            ||
| 38 | |||
| 39 |         if (array_key_exists('success', $meta) && $meta['success']) { | 
            ||
| 40 | $this->markUrlAsProcessed($url);  | 
            ||
| 41 | |||
| 42 | return;  | 
            ||
| 48 |