Wikibase
MediaWiki Wikibase extension
Wikibase\DataModel\Deserializers\TermDeserializer Class Reference

Package private. More...

+ Inheritance diagram for Wikibase\DataModel\Deserializers\TermDeserializer:
+ Collaboration diagram for Wikibase\DataModel\Deserializers\TermDeserializer:

Public Member Functions

 deserialize ( $serialization)
 

Private Member Functions

 getDeserialized (array $serialization)
 
 assertCanDeserialize ( $serialization)
 
 assertAttributeIsString (array $array, $attributeName)
 
 requireAttribute ( $serialization, $attribute)
 
 assertNotAttribute (array $array, $key)
 

Detailed Description

Package private.

Author
Addshore

Member Function Documentation

◆ assertAttributeIsString()

Wikibase\DataModel\Deserializers\TermDeserializer::assertAttributeIsString ( array  $array,
  $attributeName 
)
private

◆ assertCanDeserialize()

Wikibase\DataModel\Deserializers\TermDeserializer::assertCanDeserialize (   $serialization)
private
Parameters
string[]$serialization
Exceptions
DeserializationException

◆ assertNotAttribute()

Wikibase\DataModel\Deserializers\TermDeserializer::assertNotAttribute ( array  $array,
  $key 
)
private
Parameters
string[]$array
string$key
Exceptions
InvalidAttributeException

◆ deserialize()

Wikibase\DataModel\Deserializers\TermDeserializer::deserialize (   $serialization)
Parameters
string[]$serialization
Returns
Term
Exceptions
DeserializationException

◆ getDeserialized()

Wikibase\DataModel\Deserializers\TermDeserializer::getDeserialized ( array  $serialization)
private
Parameters
string[]$serialization
Returns
Term

◆ requireAttribute()

Wikibase\DataModel\Deserializers\TermDeserializer::requireAttribute (   $serialization,
  $attribute 
)
private
Parameters
string[]$serialization
string$attribute
Exceptions
MissingAttributeException

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