MediaWiki REL1_39
JsonUnserializable.php
Go to the documentation of this file.
1<?php
22namespace MediaWiki\Json;
23
24use JsonSerializable;
25
38interface JsonUnserializable extends JsonSerializable {
39
47 public static function newFromJsonArray( JsonUnserializer $unserializer, array $json );
48}
static newFromJsonArray(JsonUnserializer $unserializer, array $json)
Creates a new instance of the class and initialized it from the $json array.