WikibaseLexeme
MediaWiki WikibaseLexeme extension
Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotSenseId Class Reference
+ Inheritance diagram for Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotSenseId:
+ Collaboration diagram for Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotSenseId:

Public Member Functions

 __construct ( $given)
 
 asApiMessage ( $parameterName, array $path)
 TODO senseId can occur as param (senseId) or in json (data). More...
 

Private Attributes

 $given
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotSenseId::__construct (   $given)
Parameters
string$given

Member Function Documentation

◆ asApiMessage()

Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotSenseId::asApiMessage (   $parameterName,
array  $path 
)

TODO senseId can occur as param (senseId) or in json (data).

Clean generic $path solution? Proposal: Unification of field and path (fields being first part of path no extra treatment)

See also
ApiError::asApiMessage()

Implements Wikibase\Lexeme\MediaWiki\Api\Error\ApiError.

Member Data Documentation

◆ $given

Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotSenseId::$given
private

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