- Full name:
\App\Infrastructure\Services\Content\Event\ContentUpdated - This class is marked as final and can't be subclassed
- This class is a Final class
Properties
content
actorId
context
occurredAt
Methods
__construct
public __construct(array{'id': string, 'title': string, 'slug': string, 'body': string, 'author': string, 'type': string, 'parent': string|null, 'sidebar': int, 'showInMenu': int, 'showInSearch': int, 'relativeUrl': string, 'featuredImage': string, 'status': string, 'created': string, 'createdGmt': string, 'published': string, 'publishedGmt': string, 'published': string, 'publishedGmt': string} $content, string|null $actorId = null, array $context = [], \Qubus\Support\DateTime\QubusDateTimeImmutable $occurredAt = new \Qubus\Support\DateTime\QubusDateTimeImmutable(time: 'now')): mixed
Parameters:
| Parameter | Type | Description |
|---|---|---|
$content |
array{'id': string, 'title': string, 'slug': string, 'body': string, 'author': string, 'type': string, 'parent': string|null, 'sidebar': int, 'showInMenu': int, 'showInSearch': int, 'relativeUrl': string, 'featuredImage': string, 'status': string, 'created': string, 'createdGmt': string, 'published': string, 'publishedGmt': string, 'published': string, 'publishedGmt': string} | |
$actorId |
string|null | |
$context |
array | |
$occurredAt |
\Qubus\Support\DateTime\QubusDateTimeImmutable |