1 | <?php |
||
9 | abstract class AbstractImageUpdated extends AbstractEvent |
||
10 | { |
||
11 | /** |
||
12 | * @var UUID |
||
13 | */ |
||
14 | protected $mediaObjectId; |
||
15 | |||
16 | /** |
||
17 | * @var StringLiteral |
||
18 | */ |
||
19 | protected $description; |
||
20 | |||
21 | /** |
||
22 | * @var StringLiteral |
||
23 | */ |
||
24 | protected $copyrightHolder; |
||
25 | |||
26 | final public function __construct( |
||
37 | |||
38 | /** |
||
39 | * @return UUID |
||
40 | */ |
||
41 | public function getMediaObjectId(): UUID |
||
45 | |||
46 | public function getDescription(): StringLiteral |
||
50 | |||
51 | public function getCopyrightHolder(): StringLiteral |
||
55 | |||
56 | public function serialize(): array |
||
64 | |||
65 | public static function deserialize(array $data): AbstractImageUpdated |
||
74 | } |
||
75 |