• Full name: \App\Infrastructure\Services\Content\Event\ContentDeleted
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Properties

contentId

public string $contentId

actorId

public string|null $actorId

context

public array $context

occurredAt

public \Qubus\Support\DateTime\QubusDateTimeImmutable $occurredAt

Methods

__construct

public __construct(string $contentId, string|null $actorId = null, array $context = [], \Qubus\Support\DateTime\QubusDateTimeImmutable $occurredAt = new \Qubus\Support\DateTime\QubusDateTimeImmutable(time: 'now')): mixed

Parameters:

Parameter Type Description
$contentId string
$actorId string|null
$context array
$occurredAt \Qubus\Support\DateTime\QubusDateTimeImmutable