@@ -133,7 +133,7 @@ public function setPrefetch($depth)
133
133
/**
134
134
* Get the depth to use. A depth <= 0 means no prefetching should be done.
135
135
*
136
- * @return int The depth to use when fetching menus.
136
+ * @return int The depth to use when fetching menus
137
137
*/
138
138
public function getPrefetch ()
139
139
{
@@ -158,12 +158,12 @@ public function setRequest(Request $request = null)
158
158
* only load a submenu rather than a whole menu.
159
159
*
160
160
* @param string $name Name of the menu to load. This can be an
161
- * absolute PHPCR path or one relative to the menu root.
161
+ * absolute PHPCR path or one relative to the menu root
162
162
* @param array $options
163
163
*
164
- * @return ItemInterface The menu (sub)tree starting with name.
164
+ * @return ItemInterface The menu (sub)tree starting with name
165
165
*
166
- * @throws \InvalidArgumentException if the menu can not be found.
166
+ * @throws \InvalidArgumentException if the menu can not be found
167
167
*/
168
168
public function get ($ name , array $ options = array ())
169
169
{
@@ -184,10 +184,10 @@ public function get($name, array $options = array())
184
184
* an exception.
185
185
*
186
186
* @param string $name Name of the menu to load. This can be an
187
- * absolute PHPCR path or one relative to the menu root.
187
+ * absolute PHPCR path or one relative to the menu root
188
188
* @param array $options
189
189
*
190
- * @return bool Whether a menu with this name can be loaded by this provider.
190
+ * @return bool Whether a menu with this name can be loaded by this provider
191
191
*/
192
192
public function has ($ name , array $ options = array ())
193
193
{
@@ -199,13 +199,13 @@ public function has($name, array $options = array())
199
199
* @param array $options
200
200
* @param bool $throw Whether to throw an exception if the menu is not
201
201
* found or no valid menu. Returns false if $throw is false and there
202
- * is no menu at $name.
202
+ * is no menu at $name
203
203
*
204
204
* @return object|bool The menu root found with $name or false if $throw
205
- * is false and the menu was not found.
205
+ * is false and the menu was not found
206
206
*
207
207
* @throws \InvalidArgumentException Only if $throw is true throws this
208
- * exception if the name is empty or no menu found.
208
+ * exception if the name is empty or no menu found
209
209
*/
210
210
protected function find ($ name , array $ options , $ throw )
211
211
{
0 commit comments