| 1 | <?php |
||
| 9 | class NavMenuPresenter extends NavbarPresenter |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * {@inheritdoc} |
||
| 13 | */ |
||
| 14 | public function getOpenTagWrapper(): string |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | public function getMenuWithDropDownWrapper(MenuItem $item, bool $specialSidebar = false): string |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get multilevel menu wrapper. |
||
| 39 | * |
||
| 40 | * @param \Rinvex\Menus\Models\MenuItem $item |
||
| 41 | * |
||
| 42 | * @return string` |
||
| 43 | */ |
||
| 44 | public function getMultiLevelDropdownWrapper(MenuItem $item): string |
||
| 56 | } |
||
| 57 |
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@propertyannotation 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.