1 | <?php |
||
19 | class SymfonyRouterWrapper implements RouterInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var RouterInterface |
||
23 | */ |
||
24 | protected $router; |
||
25 | |||
26 | /** |
||
27 | * @param RouterInterface $router |
||
28 | */ |
||
29 | public function __construct(RouterInterface $router) |
||
33 | |||
34 | /** |
||
35 | * @param RouterInterface $router |
||
36 | */ |
||
37 | public function setRouter(RouterInterface $router) |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function setContext(RequestContext $context) |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function getContext() |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function getRouteCollection() |
||
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | public function generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH) |
||
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | public function match($pathinfo) |
||
81 | } |
||
82 |