Conditions | 2 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | protected function purgeHttpCache(Signal $signal) |
||
36 | { |
||
37 | try { |
||
38 | $locationIds = $this->extractLocationIds($signal); |
||
39 | |||
40 | return $this->httpCacheClearer->purgeForContent($this->extractContentId($signal), $locationIds); |
||
|
|||
41 | } catch (NotFoundException $e) { |
||
42 | // if content was deleted as well by this operation then fall back to clear location and parent location cache. |
||
43 | $this->httpCacheClearer->purge($locationIds); |
||
44 | } |
||
45 | } |
||
46 | } |
||
47 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.