1 | <?php |
||
24 | class PublishDestination implements PublishDestinationInterface |
||
25 | { |
||
26 | use TimestampableTrait, OrganizationAwareTrait, PaywallSecuredTrait; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $id; |
||
32 | |||
33 | /** |
||
34 | * @var TenantInterface |
||
35 | */ |
||
36 | protected $tenant; |
||
37 | |||
38 | /** |
||
39 | * @var RouteInterface |
||
40 | */ |
||
41 | protected $route; |
||
42 | |||
43 | /** |
||
44 | * @var bool |
||
45 | */ |
||
46 | protected $isPublishedFbia = true; |
||
47 | |||
48 | /** |
||
49 | * @var bool |
||
50 | */ |
||
51 | protected $published = true; |
||
52 | |||
53 | /** |
||
54 | * @var string |
||
55 | */ |
||
56 | protected $packageGuid; |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function getId() |
||
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | public function getTenant() |
||
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | public function setTenant(TenantInterface $tenant) |
||
81 | |||
82 | /** |
||
83 | * {@inheritdoc} |
||
84 | */ |
||
85 | public function getRoute() |
||
89 | |||
90 | /** |
||
91 | * {@inheritdoc} |
||
92 | */ |
||
93 | public function setRoute(RouteInterface $route) |
||
97 | |||
98 | /** |
||
99 | * {@inheritdoc} |
||
100 | */ |
||
101 | public function isPublishedFbia(): bool |
||
102 | { |
||
103 | return $this->isPublishedFbia; |
||
104 | } |
||
105 | |||
106 | /** |
||
107 | * {@inheritdoc} |
||
108 | */ |
||
109 | public function setIsPublishedFbia(bool $isPublishedFbia): void |
||
110 | { |
||
111 | $this->isPublishedFbia = $isPublishedFbia; |
||
112 | } |
||
113 | |||
114 | /** |
||
115 | * {@inheritdoc} |
||
116 | */ |
||
117 | public function isPublished(): bool |
||
121 | |||
122 | /** |
||
123 | * {@inheritdoc} |
||
124 | */ |
||
125 | public function setPublished(bool $published): void |
||
129 | |||
130 | /** |
||
131 | * {@inheritdoc} |
||
132 | */ |
||
133 | public function getPackageGuid(): ?string |
||
137 | |||
138 | /** |
||
139 | * {@inheritdoc} |
||
140 | */ |
||
141 | public function setPackageGuid(?string $packageGuid): void |
||
145 | } |
||
146 |