1 | <?php |
||
20 | abstract class AbstractSitemapService implements SitemapServiceInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var RouterInterface |
||
24 | */ |
||
25 | private $router; |
||
26 | |||
27 | /** |
||
28 | * @param RouterInterface $router |
||
29 | */ |
||
30 | public function __construct(RouterInterface $router) |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function configureSettings(OptionsResolver $resolver): void |
||
41 | |||
42 | /** |
||
43 | * @param string $name |
||
44 | * @param array $parameters |
||
45 | * @param int $absolute |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | final protected function generate($name, array $parameters = [], $absolute = UrlGeneratorInterface::ABSOLUTE_URL): string |
||
53 | |||
54 | /** |
||
55 | * @param string $location |
||
56 | * @param int|null $priority |
||
57 | * @param string|null $changeFreq |
||
58 | * @param \DateTime|null $lastMod |
||
59 | * |
||
60 | * @return UrlInterface |
||
61 | */ |
||
62 | final protected function createEntry(string $location, ?int $priority, ?string $changeFreq = null, ?\DateTime $lastMod = null): UrlInterface |
||
66 | } |
||
67 |