1 | <?php |
||
22 | class Tenant extends BaseTenant implements TenantInterface, ArticlesCountInterface, OutputChannelAwareInterface |
||
23 | { |
||
24 | use ArticlesCountTrait; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $themeName; |
||
30 | |||
31 | /** |
||
32 | * @var RouteInterface |
||
33 | */ |
||
34 | protected $homepage; |
||
35 | |||
36 | /** |
||
37 | * @var bool |
||
38 | */ |
||
39 | protected $ampEnabled = false; |
||
40 | |||
41 | /** |
||
42 | * @var BaseOutputChannelInterface|null |
||
43 | */ |
||
44 | protected $outputChannel; |
||
45 | 44 | ||
46 | /** @var AppleNewsConfig|null */ |
||
47 | 44 | protected $appleNewsConfig; |
|
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function getThemeName() |
||
56 | 104 | ||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | public function setThemeName($themeName) |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | public function getHomepage() |
||
72 | 104 | ||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | public function setHomepage(RouteInterface $homepage) |
||
80 | |||
81 | /** |
||
82 | * {@inheritdoc} |
||
83 | */ |
||
84 | public function isAmpEnabled(): bool |
||
88 | 1 | ||
89 | /** |
||
90 | * {@inheritdoc} |
||
91 | */ |
||
92 | public function setAmpEnabled(bool $ampEnabled) |
||
96 | |||
97 | /** |
||
98 | * {@inheritdoc} |
||
99 | */ |
||
100 | public function getOutputChannel(): ?BaseOutputChannelInterface |
||
104 | 104 | ||
105 | /** |
||
106 | * {@inheritdoc} |
||
107 | */ |
||
108 | public function setOutputChannel(?BaseOutputChannelInterface $outputChannel): void |
||
116 | |||
117 | public function getAppleNewsConfig(): ?AppleNewsConfig |
||
121 | |||
122 | public function setAppleNewsConfig(?AppleNewsConfig $appleNewsConfig): void |
||
126 | } |
||
127 |