• Full name: \App\Domain\ContentType\Event\ContentTypeDescriptionWasChanged
  • Parent class: AggregateChanged

Properties

contentTypeId

private \App\Domain\ContentType\ValueObject\ContentTypeId $contentTypeId

contentTypeDescription

private \Qubus\ValueObjects\StringLiteral\StringLiteral $contentTypeDescription

Methods

withData

public static withData(\App\Domain\ContentType\ValueObject\ContentTypeId $contentTypeId, \Qubus\ValueObjects\StringLiteral\StringLiteral $contentTypeDescription): \App\Domain\ContentType\Event\ContentTypeDescriptionWasChanged|\Codefy\Domain\EventSourcing\DomainEvent|\Codefy\Domain\EventSourcing\AggregateChanged
  • This method is static. Parameters:
Parameter Type Description
$contentTypeId \App\Domain\ContentType\ValueObject\ContentTypeId
$contentTypeDescription \Qubus\ValueObjects\StringLiteral\StringLiteral

contentTypeId

public contentTypeId(): \App\Domain\ContentType\ValueObject\ContentTypeId

Throws:


contentTypeDescription

public contentTypeDescription(): \Qubus\ValueObjects\StringLiteral\StringLiteral