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) |
|
28 | |||
29 | 2 | private function getPath($name, $parameters = array(), $relative = false) |
|
33 | |||
34 | 2 | private function getUrl($name, $parameters = array(), $schemeRelative = false) |
|
38 | } |
||
39 |