1 | <?php |
||
10 | final class LazyCompilableLink implements CompilableLinkInterface |
||
11 | { |
||
12 | /** @var string */ |
||
13 | private $route; |
||
14 | /** @var UrlGeneratorInterface */ |
||
15 | private $generator; |
||
16 | |||
17 | /** |
||
18 | * LazyCompilableLink constructor. |
||
19 | * |
||
20 | * @param string $route |
||
21 | * @param UrlGeneratorInterface $generator |
||
22 | */ |
||
23 | 1 | public function __construct($route, UrlGeneratorInterface $generator) |
|
28 | |||
29 | /** {@inheritdoc} */ |
||
30 | 1 | public function compile(array $items) |
|
38 | } |
||
39 |