- Full name:
\App\Infrastructure\Services\Product\Event\ProductUpdated - This class is marked as final and can't be subclassed
- This class is a Final class
Properties
product
actorId
context
occurredAt
Methods
__construct
public __construct(array{'id': string, 'title': string, 'slug': string, 'body': string, 'author': string, 'sku': string, 'price': float, 'currency': string, 'purchaseUrl': int, 'showInMenu': int, 'showInSearch': int, 'featuredImage': string, 'status': string, 'created': string, 'createdGmt': string, 'published': string, 'publishedGmt': string, 'published': string, 'publishedGmt': string} $product, string|null $actorId = null, array $context = [], \Qubus\Support\DateTime\QubusDateTimeImmutable $occurredAt = new \Qubus\Support\DateTime\QubusDateTimeImmutable(time: 'now')): mixed
Parameters:
| Parameter | Type | Description |
|---|---|---|
$product |
array{'id': string, 'title': string, 'slug': string, 'body': string, 'author': string, 'sku': string, 'price': float, 'currency': string, 'purchaseUrl': int, 'showInMenu': int, 'showInSearch': int, '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 |