Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\Synchronization\GroupSynchronizationResponse Class Reference

Class encapsulating the response returned by the GroupSynchronizationCache when requested for an update on a group synchronization status. More...

Inheritance diagram for MediaWiki\Extension\Translate\Synchronization\GroupSynchronizationResponse:

Public Member Functions

 __construct (string $groupId, array $remainingMessages, bool $hasTimedOut)
 
 isDone ()
 
 getRemainingMessages ()
 
 getGroupId ()
 
 hasTimedOut ()
 

Static Public Member Functions

static newFromJsonArray (JsonUnserializer $unserializer, array $params)
 

Protected Member Functions

 toJsonArray ()
 

Detailed Description

Class encapsulating the response returned by the GroupSynchronizationCache when requested for an update on a group synchronization status.

Author
Abijeet Patro @license GPL-2.0-or-later
Since
2020.06

Definition at line 19 of file GroupSynchronizationResponse.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\Synchronization\GroupSynchronizationResponse::__construct ( string $groupId,
array $remainingMessages,
bool $hasTimedOut )

Definition at line 29 of file GroupSynchronizationResponse.php.

Member Function Documentation

◆ getGroupId()

MediaWiki\Extension\Translate\Synchronization\GroupSynchronizationResponse::getGroupId ( )

Definition at line 46 of file GroupSynchronizationResponse.php.

◆ getRemainingMessages()

MediaWiki\Extension\Translate\Synchronization\GroupSynchronizationResponse::getRemainingMessages ( )
Returns
MessageUpdateParameter[]

Definition at line 42 of file GroupSynchronizationResponse.php.

◆ hasTimedOut()

MediaWiki\Extension\Translate\Synchronization\GroupSynchronizationResponse::hasTimedOut ( )

Definition at line 50 of file GroupSynchronizationResponse.php.

◆ isDone()

MediaWiki\Extension\Translate\Synchronization\GroupSynchronizationResponse::isDone ( )

Definition at line 37 of file GroupSynchronizationResponse.php.

◆ newFromJsonArray()

static MediaWiki\Extension\Translate\Synchronization\GroupSynchronizationResponse::newFromJsonArray ( JsonUnserializer $unserializer,
array $params )
static

Definition at line 59 of file GroupSynchronizationResponse.php.

◆ toJsonArray()

MediaWiki\Extension\Translate\Synchronization\GroupSynchronizationResponse::toJsonArray ( )
protected
Returns
mixed[]

Definition at line 55 of file GroupSynchronizationResponse.php.


The documentation for this class was generated from the following file: