1 | <?php |
||
10 | class RoutingHelper implements HelperInterface |
||
11 | { |
||
12 | private $generator; |
||
13 | private $type; |
||
14 | |||
15 | 4 | public function __construct(UrlGeneratorInterface $generator, $type) |
|
20 | |||
21 | 4 | public function handle($context, $options) |
|
34 | |||
35 | 2 | private function getPath($name, $parameters = array(), $relative = false) |
|
39 | |||
40 | 2 | private function getUrl($name, $parameters = array(), $schemeRelative = false) |
|
44 | } |
||
45 |