ContentPublishedInput
ContentPublishedInput.php
:
13
Read-only
Final
Implements
MetricInputInterface
Properties¶
$allLanguagesPublished
¶
ContentPublishedInput.php
:
24
|
|
|
$content
¶
ContentPublishedInput.php
:
21
|
|
|
$initialLanguageCode
¶
ContentPublishedInput.php
:
23
|
|
|
$publishedLanguageCodes
¶
ContentPublishedInput.php
:
22
|
|
|
Methods¶
__construct()
¶
ContentPublishedInput.php
:
20
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $content | Content | - | - |
| $publishedLanguageCodes | array<string|int, string> | - |
Intentionally published languages. When the publish targeted all languages, this is already collapsed to [$initialLanguageCode] — consumers must use $allLanguagesPublished, never an empty array, to detect that case. |
| $initialLanguageCode | string | - | - |
| $allLanguagesPublished | bool | - | - |