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