Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5992293
ContentModelHandler.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
695 B
Referenced Files
None
Subscribers
None
ContentModelHandler.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Wikimedia\Parsoid\Core
;
use
Wikimedia\Parsoid\DOM\Document
;
use
Wikimedia\Parsoid\Ext\ParsoidExtensionAPI
;
abstract
class
ContentModelHandler
{
/**
* @param ParsoidExtensionAPI $extApi
* @param ?SelectiveUpdateData $selectiveUpdateData
* @return Document
*/
abstract
public
function
toDOM
(
ParsoidExtensionAPI
$extApi
,
?
SelectiveUpdateData
$selectiveUpdateData
=
null
):
Document
;
/**
* @param ParsoidExtensionAPI $extApi
* @param ?SelectiveUpdateData $selectiveUpdateData
* @return string
*/
abstract
public
function
fromDOM
(
ParsoidExtensionAPI
$extApi
,
?
SelectiveUpdateData
$selectiveUpdateData
=
null
):
string
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 02:15 (4 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
33/e7/3699c77c0791cc7f3184f0f3c7ce
Default Alt Text
ContentModelHandler.php (695 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment