Emitted once a bulk translation job has run to a terminal state ({@see JobStatus::STATUS_COMPLETED}, {@see JobStatus::STATUS_FOR_REVIEW} or {@see JobStatus::STATUS_FAILED}), regardless of whether the user it ran as can still be notified.
A JobStatus::STATUS_FOR_REVIEW job may or may not have failed items, so the count travels with it. The job is the one loaded before it finished; its terminal status and failed items count are the event's own.
Properties¶
$failedItems
¶
BulkTranslationJobFinishedEvent.php
:
27
|
|
|
$job
¶
BulkTranslationJobFinishedEvent.php
:
25
|
|
|
$status
¶
BulkTranslationJobFinishedEvent.php
:
26
|
|
|
Methods¶
__construct()
¶
BulkTranslationJobFinishedEvent.php
:
24
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $job | Job | - | - |
| $status | JobStatus | - | - |
| $failedItems | int | - | - |
isPropagationStopped()
¶
Event.php
:
35
|
|
|
Return values
bool
stopPropagation()
¶
Event.php
:
47
Stops the propagation of the event to further event listeners.
|
|
|
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().