Conditions | 4 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | protected function processUrl($url, $priority) |
||
35 | { |
||
36 | $meta = Publisher::singleton()->purgeURL($url); |
||
37 | $meta = (is_array($meta)) ? $meta : []; |
||
38 | if (array_key_exists('success', $meta) && $meta['success']) { |
||
39 | $this->markUrlAsProcessed($url); |
||
40 | |||
41 | return; |
||
42 | } |
||
43 | |||
44 | $this->handleFailedUrl($url, $meta); |
||
45 | } |
||
47 |