1 | <?php |
||
23 | class ArticleEvent implements ArticleEventInterface, TimestampableInterface |
||
24 | { |
||
25 | use TimestampableTrait; |
||
26 | |||
27 | /** |
||
28 | * @var int |
||
29 | */ |
||
30 | protected $id; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | protected $action; |
||
36 | |||
37 | /** |
||
38 | * @var null|string |
||
39 | */ |
||
40 | protected $value; |
||
41 | |||
42 | /** |
||
43 | * @var ArticleStatisticsInterface |
||
44 | */ |
||
45 | protected $articleStatistics; |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | public function getId() |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function getAction(): string |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | public function setAction(string $action): void |
||
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | public function getValue(): ?string |
||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | public function setValue(?string $value): void |
||
86 | |||
87 | /** |
||
88 | * {@inheritdoc} |
||
89 | */ |
||
90 | public function getArticleStatistics(): ArticleStatisticsInterface |
||
94 | |||
95 | /** |
||
96 | * {@inheritdoc} |
||
97 | */ |
||
98 | public function setArticleStatistics(ArticleStatisticsInterface $articleStatistics): void |
||
102 | } |
||
103 |