• Full name: \App\Domain\ContentType\Event\ContentTypeWasDeleted
  • Parent class: AggregateChanged
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Properties

contentTypeId

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

Methods

withData

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

contentTypeId

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

Throws: