1 | <?php |
||
14 | trait CollectableItemTrait |
||
15 | { |
||
16 | /** @var string */ |
||
17 | protected $namespace; |
||
18 | |||
19 | /** @var DynamicPageView */ |
||
20 | protected $pageView; |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | 5 | public function getNamespace() |
|
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | 8 | public function setNamespace($namespace) |
|
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function &getParentPageView() |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function getJailedPageView() |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function setParentPageView(DynamicPageView &$pageView) |
||
61 | } |
||
62 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.