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