MediaWiki master
|
Inherits JsonSerializable.
Inherited by MediaWiki\Parser\CacheTime.
Static Public Member Functions | |
static | newFromJsonArray (JsonDeserializer $deserializer, array $json) |
Creates a new instance of the class and initialized it from the $json array. | |
Definition at line 38 of file JsonDeserializable.php.
|
static |
Creates a new instance of the class and initialized it from the $json array.
JsonDeserializer | $deserializer | an instance of JsonDeserializer to use for nested properties if they need special care. |
array | $json |
Implemented in MediaWiki\Parser\CacheTime, and MediaWiki\Parser\ParserOutput.