| 1 | <?php |
||
| 9 | class RelativeLink implements Processor |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var UrlGeneratorInterface |
||
| 13 | */ |
||
| 14 | private $generator; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var RequestStack |
||
| 18 | */ |
||
| 19 | private $stack; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param UrlGeneratorInterface $generator |
||
| 23 | */ |
||
| 24 | public function __construct(UrlGeneratorInterface $generator, RequestStack $stack) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function process($html) |
||
| 47 | } |
||
| 48 |