Package private.
More...
Package private.
- Copyright
- GPL-2.0-or-later
- Author
- Thomas Pellissier Tanon
-
Addshore
◆ __construct()
Wikibase\DataModel\Serializers\SnakSerializer::__construct |
( |
Serializer |
$dataValueSerializer, |
|
|
|
$serializeWithHash = true |
|
) |
| |
- Parameters
-
Serializer | $dataValueSerializer | |
bool | $serializeWithHash | |
◆ getSerialized()
Wikibase\DataModel\Serializers\SnakSerializer::getSerialized |
( |
Snak |
$snak | ) |
|
|
private |
◆ isSerializerFor()
Wikibase\DataModel\Serializers\SnakSerializer::isSerializerFor |
( |
|
$object | ) |
|
- See also
- Serializer::isSerializerFor
- Parameters
-
- Returns
- bool
◆ serialize()
Wikibase\DataModel\Serializers\SnakSerializer::serialize |
( |
|
$object | ) |
|
- See also
- Serializer::serialize
- Parameters
-
- Exceptions
-
- Returns
- array
◆ $dataValueSerializer
Wikibase\DataModel\Serializers\SnakSerializer::$dataValueSerializer |
|
private |
◆ $serializeWithHash
Wikibase\DataModel\Serializers\SnakSerializer::$serializeWithHash |
|
private |
The documentation for this class was generated from the following file: