1 | <?php |
||
11 | trait ModuleMapTrait |
||
12 | { |
||
13 | /** |
||
14 | * @var MappingA |
||
15 | */ |
||
16 | private $oParentMap; |
||
17 | |||
18 | 19 | public function setModuleMap(MappingA $oMap) { |
|
21 | |||
22 | /** |
||
23 | * @returns ModuleMap |
||
24 | */ |
||
25 | 21 | public function getModuleMap() { |
|
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | * @throws ExceptionSitemap |
||
35 | */ |
||
36 | 2 | public function getModulePath() { |
|
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | 1 | public function getModuleName() { |
|
47 | } |
||
48 |
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.