Property | Type | Description | |
---|---|---|---|
$collection | Illuminate\Support\Collection | Menu collection | |
$menu | Lavary\Menu\Menu | List of menu items |
Method | Description | |
---|---|---|
__construct ( ) | Initializing the menu builder | |
all ( ) : |
Alias for getCollection | |
get ( string $key ) : |
Return Menu instance from the collection by key | |
getCollection ( ) : |
Return Menu collection | |
loadConf ( string $name ) : array | Loads and merges configuration data | |
make ( string $name, callable $callback ) : |
Create a new menu instance |
public all ( ) : |
||
return |
public getCollection ( ) : |
||
return |