1 | <?php |
||
24 | class PublishDestination implements PublishDestinationInterface |
||
25 | { |
||
26 | use TimestampableTrait; |
||
27 | use OrganizationAwareTrait; |
||
28 | use PaywallSecuredTrait; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $id; |
||
34 | |||
35 | /** |
||
36 | * @var TenantInterface |
||
37 | */ |
||
38 | protected $tenant; |
||
39 | |||
40 | /** |
||
41 | * @var RouteInterface |
||
42 | */ |
||
43 | protected $route; |
||
44 | |||
45 | /** |
||
46 | * @var bool |
||
47 | */ |
||
48 | protected $isPublishedFbia = true; |
||
49 | |||
50 | /** |
||
51 | * @var bool |
||
52 | */ |
||
53 | protected $published = true; |
||
54 | |||
55 | /** |
||
56 | * @var string |
||
57 | */ |
||
58 | protected $packageGuid; |
||
59 | |||
60 | /** |
||
61 | * @var array |
||
62 | */ |
||
63 | protected $contentLists = []; |
||
64 | |||
65 | /** |
||
66 | * @var bool |
||
67 | */ |
||
68 | protected $isPublishedToAppleNews = false; |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function getId() |
||
77 | |||
78 | /** |
||
79 | * {@inheritdoc} |
||
80 | */ |
||
81 | public function getTenant() |
||
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | public function setTenant(TenantInterface $tenant) |
||
93 | |||
94 | /** |
||
95 | * {@inheritdoc} |
||
96 | */ |
||
97 | public function getRoute() |
||
101 | |||
102 | /** |
||
103 | * {@inheritdoc} |
||
104 | */ |
||
105 | public function setRoute(RouteInterface $route) |
||
109 | |||
110 | /** |
||
111 | * {@inheritdoc} |
||
112 | */ |
||
113 | public function isPublishedFbia(): bool |
||
117 | |||
118 | /** |
||
119 | * {@inheritdoc} |
||
120 | */ |
||
121 | public function setIsPublishedFbia(bool $isPublishedFbia): void |
||
125 | |||
126 | /** |
||
127 | * {@inheritdoc} |
||
128 | */ |
||
129 | public function isPublished(): bool |
||
133 | |||
134 | /** |
||
135 | * {@inheritdoc} |
||
136 | */ |
||
137 | public function setPublished(bool $published): void |
||
141 | |||
142 | /** |
||
143 | * {@inheritdoc} |
||
144 | */ |
||
145 | public function getPackageGuid(): ?string |
||
149 | |||
150 | /** |
||
151 | * {@inheritdoc} |
||
152 | */ |
||
153 | public function setPackageGuid(?string $packageGuid): void |
||
157 | |||
158 | public function getContentLists(): array |
||
166 | |||
167 | public function setContentLists(array $contentLists): void |
||
171 | |||
172 | public function isPublishedToAppleNews(): bool |
||
176 | |||
177 | public function setIsPublishedToAppleNews(bool $isPublishedToAppleNews): void |
||
181 | } |
||
182 |