1 | <?php |
||
10 | class SidebarMenuPresenter extends BasePresenter |
||
11 | { |
||
12 | /** |
||
13 | * Get open tag wrapper. |
||
14 | * |
||
15 | * @return string |
||
16 | */ |
||
17 | public function getOpenTagWrapper(): string |
||
21 | |||
22 | /** |
||
23 | * Get close tag wrapper. |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | public function getCloseTagWrapper(): string |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | public function getDividerWrapper(): string |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function getHeaderWrapper(MenuItem $item): string |
||
47 | |||
48 | /** |
||
49 | * Get menu tag without dropdown wrapper. |
||
50 | * |
||
51 | * @param \Rinvex\Menus\Models\MenuItem $item |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getMenuWithoutDropdownWrapper(MenuItem $item): string |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | public function getMenuWithDropDownWrapper(MenuItem $item, bool $specialSidebar = false): string |
||
88 | |||
89 | /** |
||
90 | * Get multilevel menu wrapper. |
||
91 | * |
||
92 | * @param \Rinvex\Menus\Models\MenuItem $item |
||
93 | * |
||
94 | * @return string` |
||
95 | */ |
||
96 | public function getMultiLevelDropdownWrapper(MenuItem $item): string |
||
100 | } |
||
101 |
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.