Page MenuHomeWickedGov Phorge

Article.php
No OneTemporary

Size
571 B
Referenced Files
None
Subscribers
None

Article.php

<?php
declare( strict_types = 1 );
namespace Wikimedia\Parsoid\ParserTests;
/**
* Represents a parser test
*/
class Article extends Item {
/** @var string */
public $title;
/** @var string */
public $text;
/**
* @param array $articleProps key-value mapping of properties
* @param ?string $comment Optional comment describing the article
*/
public function __construct( array $articleProps, ?string $comment = null ) {
parent::__construct( $articleProps, $comment );
$this->title = $articleProps['title'];
$this->text = $articleProps['text'];
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Nov 23, 02:37 (2 d, 21 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1f/e6/3ee55e9a1392da996d0e5e558dc7
Default Alt Text
Article.php (571 B)

Event Timeline