Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lavary committed Aug 7, 2014
1 parent 1a8a743 commit 04b1774
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ You can also get an item by Id if needed:
$menu->all();

// or outside of the builder context
Menu::get('MenuName')->all();
Menu::get('MyNavBar')->all();
// ...
?>
```
Expand All @@ -302,7 +302,7 @@ You can also get an item by Id if needed:
$menu->first();

// or outside of the builder context
Menu::get('MenuName')->first();
Menu::get('MyNavBar')->first();
// ...
?>
```
Expand All @@ -315,7 +315,7 @@ You can also get an item by Id if needed:
$menu->last();

// or outside of the builder context
Menu::get('MenuName')->last();
Menu::get('MyNavBar')->last();
// ...
?>
```
Expand Down Expand Up @@ -345,10 +345,10 @@ To check if an item has any children or not, you can use `hasChildren()`
}

// or outside of the builder context
Menu::get('MenuName')->about->children();
Menu::get('MyNavBar')->about->children();

// Or
Menu::get('MenuName')->item('about')->children();
Menu::get('MyNavBar')->item('about')->children();
// ...
?>
```
Expand Down

0 comments on commit 04b1774

Please sign in to comment.