1 | <?php |
||
17 | class ExposedRoutesExtractor implements ExposedRoutesExtractorInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var ExposedRoutesExtractorInterface |
||
21 | */ |
||
22 | private $innerExtractor; |
||
23 | |||
24 | /** |
||
25 | * @var Request |
||
26 | */ |
||
27 | private $masterRequest; |
||
28 | |||
29 | public function __construct(ExposedRoutesExtractorInterface $innerExtractor, Request $masterRequest) |
||
34 | |||
35 | public function getRoutes() |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | * |
||
43 | * Will add the SiteAccess if configured in the URI. |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getBaseUrl() |
||
57 | |||
58 | public function getPrefix($locale) |
||
62 | |||
63 | public function getHost() |
||
67 | |||
68 | public function getScheme() |
||
72 | |||
73 | public function getCachePath($locale) |
||
77 | |||
78 | public function getResources() |
||
82 | |||
83 | public function getExposedRoutes() |
||
87 | |||
88 | public function getPort() |
||
92 | |||
93 | public function isRouteExposed(Route $route, $name) |
||
97 | } |
||
98 |