Debian Codegraph @

vendor/wikimedia/parsoid/src/DOM/README.md

raw
1 This is a "virtual" namespace, used for the particular DOM implementation
2 Parsoid is choosing to use.
3
4 The default implementation here uses the subclassing mechanism built
5 into PHP's \DOMDocument classes. It is intended that the implementation
6 in `Wikimedia\Dodo` (or some other DOM implementation) can also be
7 aliased into this namespace. The overall goal is to provide a measure
8 of implementation independence by ensuring that direct references to
9 the built-in \DOM* classes don't appear in type hints and phan docs.