| 1 | <?php |
||
| 8 | abstract class AbstractUserEvent extends AbstractEvent |
||
| 9 | { |
||
| 10 | public const USER_ID = 'userId'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var StringLiteral |
||
| 14 | */ |
||
| 15 | private $userId; |
||
| 16 | |||
| 17 | final public function __construct(UUID $uuid, StringLiteral $userId) |
||
| 23 | |||
| 24 | public function getUserId(): StringLiteral |
||
| 28 | |||
| 29 | public static function deserialize(array $data): AbstractUserEvent |
||
| 36 | |||
| 37 | public function serialize(): array |
||
| 41 | } |
||
| 42 |