1 | <?php |
||
24 | class Slideshow implements SlideshowInterface |
||
25 | { |
||
26 | use TimestampableTrait, SoftDeletableTrait; |
||
27 | |||
28 | /** |
||
29 | * @var string|null |
||
30 | */ |
||
31 | protected $id; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $code; |
||
37 | |||
38 | /** |
||
39 | * @var ArticleInterface|null |
||
40 | */ |
||
41 | protected $article; |
||
42 | |||
43 | /** |
||
44 | * @var Collection |
||
45 | */ |
||
46 | protected $items; |
||
47 | |||
48 | public function __construct() |
||
53 | |||
54 | public function getId() |
||
58 | |||
59 | public function getCode(): string |
||
63 | |||
64 | public function setCode(string $code): void |
||
68 | |||
69 | public function getArticle(): ?ArticleInterface |
||
73 | |||
74 | public function setArticle(?ArticleInterface $article): void |
||
78 | |||
79 | public function getItems(): Collection |
||
83 | |||
84 | public function setItems(Collection $items): void |
||
88 | } |
||
89 |