Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7479193
DiffElem.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
556 B
Referenced Files
None
Subscribers
None
DiffElem.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
PhpParser\Internal
;
/**
* @internal
*/
class
DiffElem
{
const
TYPE_KEEP
=
0
;
const
TYPE_REMOVE
=
1
;
const
TYPE_ADD
=
2
;
const
TYPE_REPLACE
=
3
;
/** @var int One of the TYPE_* constants */
public
$type
;
/** @var mixed Is null for add operations */
public
$old
;
/** @var mixed Is null for remove operations */
public
$new
;
public
function
__construct
(
int
$type
,
$old
,
$new
)
{
$this
->
type
=
$type
;
$this
->
old
=
$old
;
$this
->
new
=
$new
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 11:37 (4 d, 18 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
34/d4/9cd683ab155924a85475bc216227
Default Alt Text
DiffElem.php (556 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment