| 1 | <?php |
||
| 7 | abstract class AbstractTypeUpdated extends AbstractEvent |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var EventType |
||
| 11 | */ |
||
| 12 | protected $type; |
||
| 13 | |||
| 14 | final public function __construct(string $itemId, EventType $type) |
||
| 19 | |||
| 20 | public function getType(): EventType |
||
| 24 | |||
| 25 | public function serialize(): array |
||
| 31 | |||
| 32 | public static function deserialize(array $data): AbstractTypeUpdated |
||
| 36 | } |
||
| 37 |