@@ 384-392 (lines=9) @@ | ||
381 | */ |
|
382 | public function route($route, $title, $parameters = array(), $order = null, $attributes = array()) |
|
383 | { |
|
384 | if (func_num_args() == 4) { |
|
385 | $arguments = func_get_args(); |
|
386 | ||
387 | return $this->add([ |
|
388 | 'route' => [Arr::get($arguments, 0), Arr::get($arguments, 2)], |
|
389 | 'title' => Arr::get($arguments, 1), |
|
390 | 'attributes' => Arr::get($arguments, 3), |
|
391 | ]); |
|
392 | } |
|
393 | ||
394 | $route = array($route, $parameters); |
|
395 |
@@ 186-194 (lines=9) @@ | ||
183 | */ |
|
184 | public function route($route, $title, $parameters = array(), $order = 0, $attributes = array()) |
|
185 | { |
|
186 | if (func_num_args() === 4) { |
|
187 | $arguments = func_get_args(); |
|
188 | ||
189 | return $this->add([ |
|
190 | 'route' => [Arr::get($arguments, 0), Arr::get($arguments, 2)], |
|
191 | 'title' => Arr::get($arguments, 1), |
|
192 | 'attributes' => Arr::get($arguments, 3), |
|
193 | ]); |
|
194 | } |
|
195 | ||
196 | $route = array($route, $parameters); |
|
197 |