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

Properties

contentTypeId

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

contentTypeTitle

private \Qubus\ValueObjects\StringLiteral\StringLiteral $contentTypeTitle

Methods

withData

public static withData(\App\Domain\ContentType\ValueObject\ContentTypeId $contentTypeId, \Qubus\ValueObjects\StringLiteral\StringLiteral $contentTypeTitle): \App\Domain\ContentType\Event\ContentTypeTitleWasChanged|\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

contentTypeId

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

Throws:


contentTypeTitle

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