1 | <?php |
||
11 | abstract class AbstractUrlGenerator implements UrlGeneratorInterface |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @var RouterInterface |
||
16 | */ |
||
17 | private $router; |
||
18 | |||
19 | /** |
||
20 | * @var ParameterHandlerInterface |
||
21 | */ |
||
22 | private $parameterHandler; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | private $defaultRouteName; |
||
28 | |||
29 | /** |
||
30 | * @param RouterInterface $router |
||
31 | * @param ParameterHandlerInterface $parameterHandler |
||
32 | * @param $defaultRouteName |
||
33 | */ |
||
34 | 17 | public function __construct( |
|
43 | |||
44 | /** |
||
45 | * @param MediaInterface $media |
||
46 | * @param ParameterBagInterface $parameterBag |
||
47 | * @param null $routeName |
||
48 | * @param int $referenceType |
||
49 | * |
||
50 | * @return string |
||
51 | */ |
||
52 | 11 | public function generate( |
|
68 | } |
||
69 |