ContentRecalculationInput
ContentRecalculationInput.php
:
25
Read-only
Final
Implements
MetricInputInterface
Requests a rebuild of a metric's stored state from the content item's current repository snapshot, without an originating repository event.
Used to backfill metrics for pre-existing content and to recompute stored values.
Unlike a ContentPublishedInput, handling this input must be idempotent: it must not advance event-derived state (counters, sync markers) when processed repeatedly over unchanged content. Metrics whose stored state is derived from publish history rather than the current snapshot should not declare support for this input.
Properties¶
$content
¶
ContentRecalculationInput.php
:
32
|
|
|
Methods¶
__construct()
¶
ContentRecalculationInput.php
:
31
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $content | Content | - |
the content's current published version, loaded with all translations |