@@ 244-254 (lines=11) @@ | ||
241 | /** |
|
242 | * @param string $name |
|
243 | */ |
|
244 | protected function addMultiLangRoute($name, array $parameters = []) |
|
245 | { |
|
246 | $this->routeCollectionMultiLanguage->add( |
|
247 | $name, |
|
248 | new Route( |
|
249 | $parameters['path'], |
|
250 | $parameters['defaults'], |
|
251 | $parameters['requirements'] |
|
252 | ) |
|
253 | ); |
|
254 | } |
|
255 | ||
256 | /** |
|
257 | * Return slug route parameters |
@@ 335-345 (lines=11) @@ | ||
332 | /** |
|
333 | * @param string $name |
|
334 | */ |
|
335 | protected function addRoute($name, array $parameters = []) |
|
336 | { |
|
337 | $this->routeCollection->add( |
|
338 | $name, |
|
339 | new Route( |
|
340 | $parameters['path'], |
|
341 | $parameters['defaults'], |
|
342 | $parameters['requirements'] |
|
343 | ) |
|
344 | ); |
|
345 | } |
|
346 | ||
347 | /** |
|
348 | * @param array $matchResult |