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

Properties

id

private \App\Domain\Content\ValueObject\ContentId $id

showInMenu

private \Qubus\ValueObjects\Number\IntegerNumber $showInMenu

Methods

withData

public static withData(\App\Domain\Content\ValueObject\ContentId $id, \Qubus\ValueObjects\Number\IntegerNumber $showInMenu): \App\Domain\Content\Event\ContentShowInMenuWasChanged|\Codefy\Domain\EventSourcing\DomainEvent|\Codefy\Domain\EventSourcing\AggregateChanged
  • This method is static. Parameters:
Parameter Type Description
$id \App\Domain\Content\ValueObject\ContentId
$showInMenu \Qubus\ValueObjects\Number\IntegerNumber

contentId

public contentId(): \App\Domain\Content\ValueObject\ContentId

Throws:


contentShowInMenu

public contentShowInMenu(): \Qubus\ValueObjects\Number\IntegerNumber

Throws: