1 | <?php |
||
23 | final class SymfonyUserUrlGenerator implements UserUrlGenerator |
||
24 | { |
||
25 | /** |
||
26 | * The URL generator. |
||
27 | * |
||
28 | * @var UrlGeneratorInterface |
||
29 | */ |
||
30 | private $urlGenerator; |
||
31 | |||
32 | /** |
||
33 | * The path name. |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | private $pathName; |
||
38 | |||
39 | /** |
||
40 | * Constructor. |
||
41 | * |
||
42 | * @param UrlGeneratorInterface $anUrlGenerator The URL generator |
||
43 | * @param string $aPathName The path name |
||
44 | */ |
||
45 | public function __construct(UrlGeneratorInterface $anUrlGenerator, $aPathName) |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function generate($aToken) |
||
62 | } |
||
63 |