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