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

Public Member Functions

 __construct ( $expectedType, $givenType)
 
 asApiMessage ( $parameterName, array $path)
 
Parameters
string$parameterName
array$path
Returns
\ApiMessage
More...
 

Private Attributes

 $expectedType
 
 $givenType
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\MediaWiki\Api\Error\JsonFieldHasWrongType::__construct (   $expectedType,
  $givenType 
)
Parameters
string$expectedType
string$givenType

Member Function Documentation

◆ asApiMessage()

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

Parameters
string$parameterName
array$path
Returns
\ApiMessage

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

Member Data Documentation

◆ $expectedType

Wikibase\Lexeme\MediaWiki\Api\Error\JsonFieldHasWrongType::$expectedType
private

◆ $givenType

Wikibase\Lexeme\MediaWiki\Api\Error\JsonFieldHasWrongType::$givenType
private

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