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