1 | <?php |
||
14 | final class SitemapDefinition implements SitemapDefinitionInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | private $settings; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | private $type; |
||
25 | |||
26 | public function __construct(string $type, array $settings = []) |
||
31 | |||
32 | public function __toString() |
||
36 | |||
37 | public function toString(): string |
||
41 | |||
42 | public function getType(): string |
||
46 | |||
47 | public function setSettings(array $settings = []): void |
||
51 | |||
52 | public function getSettings(): array |
||
56 | |||
57 | public function getSetting(string $name, $default = null) |
||
61 | |||
62 | public function getTtl(): int |
||
70 | } |
||
71 |