src/Nav.php
protected static function _clear($menu)
    {
        if (array_key_exists($menu, self::$_items)) {
            self::$_items[$menu] = [];
        } else {
            throw new \UnexpectedValueException('Invalid menu: ' . $menu);
        }
    }
protected static function _clear($menu)
    {
        if (array_key_exists($menu, self::$_items)) {
            self::$_items[$menu] = [];
        } else {
            throw new \UnexpectedValueException('Invalid menu: ' . $menu);
        }
    }
protected static function _clear ( $ menu ) { if ( array_key_exists ( $ menu , self :: $ _items ) ) { self :: $ _items [ $ menu ] = [ ] ; } else { throw new \ UnexpectedValueException ( 'Invalid menu: ' . $ menu ) ; } }
Clear menu items.

@param $menu
@throws \UnexpectedValueException
Clear menu items .