1 | <?php |
||
23 | class Article extends BaseArticle implements ArticleInterface |
||
24 | { |
||
25 | use TenantAwareTrait, OrganizationAwareTrait; |
||
26 | |||
27 | /** |
||
28 | * @var PackageInterface |
||
29 | */ |
||
30 | protected $package; |
||
31 | |||
32 | /** |
||
33 | * @var bool |
||
34 | */ |
||
35 | protected $isPublishedFBIA = false; |
||
36 | |||
37 | /** |
||
38 | * @var ArticleStatisticsInterface |
||
39 | */ |
||
40 | protected $articleStatistics; |
||
41 | |||
42 | /** |
||
43 | * @var ExternalArticleInterface |
||
44 | */ |
||
45 | protected $externalArticle; |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | public function setId($id) |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function getPackage(): ?PackageInterface |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | public function setPackage(PackageInterface $package) |
||
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | public function isPublishedFBIA(): bool |
||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | public function setPublishedFBIA(bool $isPublished) |
||
86 | |||
87 | /** |
||
88 | * {@inheritdoc} |
||
89 | */ |
||
90 | public function getArticleStatistics(): ?ArticleStatisticsInterface |
||
94 | |||
95 | /** |
||
96 | * {@inheritdoc} |
||
97 | */ |
||
98 | public function setArticleStatistics(ArticleStatisticsInterface $articleStatistics): void |
||
103 | |||
104 | /** |
||
105 | * {@inheritdoc} |
||
106 | */ |
||
107 | public function getExternalArticle(): ?ExternalArticleInterface |
||
111 | |||
112 | /** |
||
113 | * {@inheritdoc} |
||
114 | */ |
||
115 | public function setExternalArticle(ExternalArticleInterface $externalArticle): void |
||
119 | } |
||
120 |