1 | <?php |
||
21 | abstract class AbstractContentSlot extends AbstractSlot |
||
22 | { |
||
23 | /** |
||
24 | * Purges relevant HTTP cache for $signal. |
||
25 | * |
||
26 | * @param \eZ\Publish\Core\SignalSlot\Signal $signal |
||
27 | * |
||
28 | * @return mixed |
||
29 | */ |
||
30 | protected function purgeHttpCache(Signal $signal) |
||
34 | |||
35 | /** |
||
36 | * Default provides tags to clear content, relation, location, parent and sibling cache. |
||
37 | * |
||
38 | * Overload for tree operations where you also need to clear whole path. |
||
39 | * |
||
40 | * @param \eZ\Publish\Core\SignalSlot\Signal $signal |
||
41 | * |
||
42 | * @return array |
||
43 | */ |
||
44 | protected function generateTags(Signal $signal) |
||
63 | } |
||
64 |
Since your code implements the magic getter
_get
, this function will be called for any read access on an undefined variable. You can add the@property
annotation to your class or interface to document the existence of this variable.If the property has read access only, you can use the @property-read annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.