Wikibase
MediaWiki Wikibase extension
Wikibase\DataAccess\Serializer\ForbiddenSerializer Class Reference

Serializer to be used as a stand-in when no serialization is supported. More...

+ Inheritance diagram for Wikibase\DataAccess\Serializer\ForbiddenSerializer:
+ Collaboration diagram for Wikibase\DataAccess\Serializer\ForbiddenSerializer:

Public Member Functions

 __construct ( $message)
 
 serialize ( $object)
 Always throws an exception. More...
 

Private Attributes

 $message
 

Detailed Description

Serializer to be used as a stand-in when no serialization is supported.

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataAccess\Serializer\ForbiddenSerializer::__construct (   $message)

Member Function Documentation

◆ serialize()

Wikibase\DataAccess\Serializer\ForbiddenSerializer::serialize (   $object)

Always throws an exception.

See also
Serializer::getSerialized()
Parameters
mixed$object
Exceptions
RuntimeExceptionAlways.
Returns
array

Member Data Documentation

◆ $message

Wikibase\DataAccess\Serializer\ForbiddenSerializer::$message
private

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