���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/wiki.craftaro.com/vendor/wikimedia/parsoid/src/DOM/Document.php
���ѧ٧ѧ�
<?php declare( strict_types = 1 ); namespace Wikimedia\Parsoid\DOM; class Document extends \DOMDocument implements Node { /** * Inprocess cache used in DOMCompat::getBody() * * @var Element|null */ public ?Element $body = null; public function __construct() { parent::__construct(); # Register our alias classes. Notes: # - NodeList can't be passed to registerNodeClass, and so in # "DOMDocument" mode we're always going to be using DOMNodeList, # not the Wikimedia\Parsoid\DOM\Compat\NodeList class defined here. # - Similarly, DOMException is always going to be \DOMException # when we're in DOMDocument mode. # - CharacterData and Node are abstract superclasses. Due to the # limitations of PHP multiple inheritance, we can't make them # proper subclasses of DOMCharacterData/DOMNode. Instead we make # them marker interfaces, and ensure that all subclasses of # DOMNode also implement our Node interface, and similarly all # subclasses of DOMCharacterData implement our CharacterData marker # interface. # - PHP doesn't have a DOMParser equivalent in the dom extension foreach ( [ 'Document', 'Attr', 'Comment', 'DocumentFragment', 'DocumentType', 'Element', 'ProcessingInstruction', 'Text', ] as $cls ) { $this->registerNodeClass( "DOM$cls", "Wikimedia\\Parsoid\\DOM\\$cls" ); } } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.1 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�