Returns all job item messages attached to this job item with timestamp newer than $time.
int $time: (Optional) Messages need to have a newer timestamp than $time. Defaults to REQUEST_TIME.
array An array of translation job item messages.
Overrides JobItemInterface::getMessagesSince
public function getMessagesSince($time = NULL) {
$time = isset($time) ? $time : \Drupal::time()
->getRequestTime();
$conditions = array(
'created' => array(
'value' => $time,
'operator' => '>=',
),
);
return $this
->getMessages($conditions);
}