Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Usage\EntityUsageFactory Class Reference

Factory service for generating EntityUsage objects based on their identity strings. More...

Public Member Functions

 __construct (EntityIdParser $entityIdParser)
 
 newFromIdentity (string $identity)
 

Private Attributes

 $entityIdParser
 

Detailed Description

Factory service for generating EntityUsage objects based on their identity strings.

Author
Marius Hoch

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Usage\EntityUsageFactory::__construct ( EntityIdParser $entityIdParser)

Member Function Documentation

◆ newFromIdentity()

Wikibase\Client\Usage\EntityUsageFactory::newFromIdentity ( string $identity)
Exceptions
InvalidArgumentException

Member Data Documentation

◆ $entityIdParser

Wikibase\Client\Usage\EntityUsageFactory::$entityIdParser
private

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