Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary:
+ Collaboration diagram for Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary:

Public Member Functions

 getEditAction ()
 
 getUserComment ()
 
 getOriginalItem ()
 
 getPatchedItem ()
 

Static Public Member Functions

static newSummary (?string $userComment, Item $originalItem, Item $patchedItem)
 

Private Member Functions

 __construct (?string $userComment, Item $originalItem, Item $patchedItem)
 

Private Attributes

string $editAction
 
string $userComment
 
Item $originalItem
 
Item $patchedItem
 

Additional Inherited Members

- Public Attributes inherited from Wikibase\Repo\RestApi\Domain\Model\EditSummary
const ADD_ACTION = 'add'
 
const PATCH_ACTION = 'patch'
 
const REPLACE_ACTION = 'replace'
 
const REMOVE_ACTION = 'remove'
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary::__construct ( ?string $userComment,
Item $originalItem,
Item $patchedItem )
private

Member Function Documentation

◆ getEditAction()

Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary::getEditAction ( )

◆ getOriginalItem()

Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary::getOriginalItem ( )

◆ getPatchedItem()

Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary::getPatchedItem ( )

◆ getUserComment()

Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary::getUserComment ( )

◆ newSummary()

static Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary::newSummary ( ?string $userComment,
Item $originalItem,
Item $patchedItem )
static

Member Data Documentation

◆ $editAction

string Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary::$editAction
private

◆ $originalItem

Item Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary::$originalItem
private

◆ $patchedItem

Item Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary::$patchedItem
private

◆ $userComment

string Wikibase\Repo\RestApi\Domain\Model\PatchItemEditSummary::$userComment
private

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