1 | <?php |
||
9 | class NavbarPresenter extends BasePresenter |
||
10 | { |
||
11 | /** |
||
12 | * {@inheritdoc} |
||
13 | */ |
||
14 | public function getOpenTagWrapper(): string |
||
18 | |||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | public function getCloseTagWrapper(): string |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | public function getDividerWrapper(): string |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function getHeaderWrapper(MenuItem $item): string |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function getMenuWithoutDropdownWrapper(MenuItem $item): string |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function getMenuWithDropDownWrapper(MenuItem $item, bool $specialSidebar = false): string |
||
73 | |||
74 | /** |
||
75 | * Get multilevel menu wrapper. |
||
76 | * |
||
77 | * @param \Rinvex\Menus\Models\MenuItem $item |
||
78 | * |
||
79 | * @return string` |
||
80 | */ |
||
81 | public function getMultiLevelDropdownWrapper(MenuItem $item): string |
||
93 | } |
||
94 |
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.