1 | <?php |
||
21 | abstract class PurgeForContentHttpCacheSlot extends HttpCacheSlot |
||
22 | { |
||
23 | /** |
||
24 | * Purges all caches. |
||
25 | * |
||
26 | * @param \eZ\Publish\Core\SignalSlot\Signal $signal |
||
27 | * |
||
28 | * @return mixed |
||
29 | */ |
||
30 | protected function purgeHttpCache(Signal $signal) |
||
34 | |||
35 | /** |
||
36 | * Default implementation that returns the contentId property's value. |
||
37 | * |
||
38 | * @param \eZ\Publish\Core\SignalSlot\Signal $signal |
||
39 | * |
||
40 | * @return mixed Content ID |
||
41 | */ |
||
42 | protected function extractContentId(Signal $signal) |
||
46 | |||
47 | /** |
||
48 | * Default implementation that returns the signal location property values. |
||
49 | * |
||
50 | * This is extracted and provided to purgeForContent in case content is trashed where affected location is no longer returned by API. |
||
51 | * |
||
52 | * @param \eZ\Publish\Core\SignalSlot\Signal $signal |
||
53 | * |
||
54 | * @return array Location ID's |
||
55 | */ |
||
56 | protected function extractLocationIds(Signal $signal) |
||
69 | } |
||
70 |
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.