Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7440833
State.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
542 B
Referenced Files
None
Subscribers
None
State.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Wikimedia\Parsoid\Html2Wt\ConstrainedText
;
class
State
{
/** @var string */
public
$leftContext
;
/** @var string */
public
$rightContext
;
/** @var ConstrainedText[] */
public
$line
;
/** @var int */
public
$pos
;
/**
* @param ConstrainedText[] $line
*/
public
function
__construct
(
array
$line
)
{
$this
->
leftContext
=
''
;
$this
->
rightContext
=
implode
(
''
,
array_map
(
static
function
(
$ct
)
{
return
$ct
->
text
;
},
$line
)
);
$this
->
line
=
$line
;
$this
->
pos
=
0
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 15:44 (12 h, 12 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e0/88/6b547b28ee6867b5f17ee2eb235d
Default Alt Text
State.php (542 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment