MediaWiki master
MediaWiki\Storage\PageEditStashContents Class Reference

A simple structured value for stash contents. More...

Inherits JsonCodecable.

Collaboration diagram for MediaWiki\Storage\PageEditStashContents:

Public Member Functions

 __construct (public readonly Content $pstContent, public readonly ParserOutput $output, public readonly string $timestamp, public readonly ?int $edits,)
 
 toJsonArray ()
 

Static Public Member Functions

static newFromJsonArray (array $json)
 

Detailed Description

A simple structured value for stash contents.

Definition at line 18 of file PageEditStashContents.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Storage\PageEditStashContents::__construct ( public readonly Content $pstContent,
public readonly ParserOutput $output,
public readonly string $timestamp,
public readonly ?int $edits )
Parameters
$timestampTS::MW

Definition at line 21 of file PageEditStashContents.php.

Member Function Documentation

◆ newFromJsonArray()

static MediaWiki\Storage\PageEditStashContents::newFromJsonArray ( array $json)
static

Definition at line 39 of file PageEditStashContents.php.

◆ toJsonArray()

MediaWiki\Storage\PageEditStashContents::toJsonArray ( )

Definition at line 30 of file PageEditStashContents.php.


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