1 | <?php |
||
20 | abstract class SymfonyPage extends Page |
||
21 | { |
||
22 | /** |
||
23 | * @var RouterInterface |
||
24 | */ |
||
25 | protected $router; |
||
26 | |||
27 | /** |
||
28 | * @param Session $session |
||
29 | * @param array $parameters |
||
30 | * @param RouterInterface $router |
||
31 | */ |
||
32 | public function __construct(Session $session, array $parameters, RouterInterface $router) |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | protected function getUrl(array $urlParameters = []) |
||
53 | |||
54 | /** |
||
55 | * @param string $path |
||
56 | * |
||
57 | * @return string |
||
58 | */ |
||
59 | protected function makePathAbsoluteWithBehatParameter($path) |
||
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | * |
||
69 | * Not used by Symfony page. |
||
70 | */ |
||
71 | protected function getPath() |
||
74 | |||
75 | abstract protected function getRouteName(); |
||
76 | } |
||
77 |