1 | <?php |
||
22 | final class CurrentPageResolver implements CurrentPageResolverInterface |
||
23 | { |
||
24 | /** |
||
25 | * @var Session |
||
26 | */ |
||
27 | private $session; |
||
28 | |||
29 | /** |
||
30 | * @var UrlMatcherInterface |
||
31 | */ |
||
32 | private $urlMatcher; |
||
33 | |||
34 | /** |
||
35 | * @param Session $session |
||
36 | * @param UrlMatcherInterface $urlMatcher |
||
37 | */ |
||
38 | public function __construct(Session $session, UrlMatcherInterface $urlMatcher) |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | * |
||
47 | * @throws \LogicException |
||
48 | */ |
||
49 | public function getCurrentPageWithForm(array $pages) |
||
63 | } |
||
64 |