Implements an add function that inserts MenuItem references; Used in RootMenuItem and MenuItem (by subclassing)
Used to create new menus or extend already existing ones. This class is instanciated only when needed.
Main package functionality lies here; It is used to create sub-elements or to add attributes to a menu item, either by using magic method or magic assignments.
Adds, extends and generates menus. Result of app('menu')
Laravel Service Provider exposing the menu functionality
A root menu item that contains multiple MenuItem classes. This class can only contain some MenuItem, and never other menu variables.