Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7460446
Article.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
571 B
Referenced Files
None
Subscribers
None
Article.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment