# Menu hierarchy

You can create multi-level menus. Each Menu item can have as many children as you want.

See Menu Item to find out how to create a new Menu Item.

You can easily retreive children using:

// Check if item has children
if ($menuItem->hasChildren()) {
    // Get all item children as Collection
    $items = $menuItem->children();

    // Loop into items
    foreach($items as $item) {
        // Get item parent
        $parent = $item->parent();

        // ...
    }
}