1 | <?php |
||
22 | class ExternalArticle extends BaseExternalArticle implements ExternalArticleInterface |
||
23 | { |
||
24 | use TenantAwareTrait; |
||
25 | |||
26 | /** |
||
27 | * @var TenantInterface |
||
28 | */ |
||
29 | protected $tenant; |
||
30 | |||
31 | /** |
||
32 | * @var ArticleInterface |
||
33 | */ |
||
34 | protected $article; |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function __construct(ArticleInterface $article, string $externalId, string $status) |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function getArticle(): ArticleInterface |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function setArticle(ArticleInterface $article): void |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | public function getTenant(): TenantInterface |
||
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | public function setTenant(TenantInterface $tenant): void |
||
80 | } |
||
81 |