- Full name:
\App\Domain\Content\Event\ContentAuthorWasChanged - Parent class:
AggregateChanged - This class is marked as final and can't be subclassed
- This class is a Final class
Properties
id
author
Methods
withData
public static withData(\App\Domain\Content\ValueObject\ContentId $id, \App\Domain\User\ValueObject\UserId $author): \App\Domain\Content\Event\ContentAuthorWasChanged|\Codefy\Domain\EventSourcing\DomainEvent|\Codefy\Domain\EventSourcing\AggregateChanged
- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$id |
\App\Domain\Content\ValueObject\ContentId | |
$author |
\App\Domain\User\ValueObject\UserId |
contentId
Throws:
contentAuthor
Throws: