- Full name:
\App\Domain\Content\Event\ContentParentWasChanged - Parent class:
AggregateChanged - This class is marked as final and can't be subclassed
- This class is a Final class
Properties
id
parent
Methods
withData
public static withData(\App\Domain\Content\ValueObject\ContentId $id, \App\Domain\Content\ValueObject\ContentId $parent): \App\Domain\Content\Event\ContentParentWasChanged|\Codefy\Domain\EventSourcing\DomainEvent|\Codefy\Domain\EventSourcing\AggregateChanged
- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$id |
\App\Domain\Content\ValueObject\ContentId | |
$parent |
\App\Domain\Content\ValueObject\ContentId |
contentId
Throws:
contentParent
Throws: