Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder:

Public Member Functions

 __construct (ItemId $id, array $requestedFields)
 
 setLabels (Labels $labels)
 
 setDescriptions (Descriptions $descriptions)
 
 setAliases (Aliases $aliases)
 
 setStatements (StatementList $statements)
 
 setSitelinks (Sitelinks $sitelinks)
 
 build ()
 

Private Member Functions

 checkRequested (string $field)
 

Private Attributes

ItemId $id
 
Labels $labels = null
 
Descriptions $descriptions = null
 
Aliases $aliases = null
 
StatementList $statements = null
 
Sitelinks $sitelinks = null
 
array $requestedFields
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::__construct ( ItemId $id,
array $requestedFields )

Member Function Documentation

◆ build()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::build ( )

◆ checkRequested()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::checkRequested ( string $field)
private

◆ setAliases()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::setAliases ( Aliases $aliases)

◆ setDescriptions()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::setDescriptions ( Descriptions $descriptions)

◆ setLabels()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::setLabels ( Labels $labels)

◆ setSitelinks()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::setSitelinks ( Sitelinks $sitelinks)

◆ setStatements()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::setStatements ( StatementList $statements)

Member Data Documentation

◆ $aliases

Aliases Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::$aliases = null
private

◆ $descriptions

Descriptions Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::$descriptions = null
private

◆ $id

ItemId Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::$id
private

◆ $labels

Labels Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::$labels = null
private

◆ $requestedFields

array Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::$requestedFields
private

◆ $sitelinks

Sitelinks Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::$sitelinks = null
private

◆ $statements

StatementList Wikibase\Repo\RestApi\Domain\ReadModel\ItemPartsBuilder::$statements = null
private

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