- Full name:
\App\Domain\Product\Event\ProductAuthorWasChanged - 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\Product\ValueObject\ProductId $id, \App\Domain\User\ValueObject\UserId $author): \App\Domain\Product\Event\ProductAuthorWasChanged|\Codefy\Domain\EventSourcing\DomainEvent|\Codefy\Domain\EventSourcing\AggregateChanged
- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$id |
\App\Domain\Product\ValueObject\ProductId | |
$author |
\App\Domain\User\ValueObject\UserId |
productId
Throws:
productAuthor
Throws: