Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | // AUTOMATICALLY GENERATED. DO NOT EDIT. |
4 | // Use `composer build` to regenerate. |
5 | |
6 | namespace Wikimedia\IDLeDOM; |
7 | |
8 | /** |
9 | * DOMImplementation |
10 | * |
11 | * @see https://dom.spec.whatwg.org/#interface-domimplementation |
12 | * |
13 | * @phan-forbid-undeclared-magic-properties |
14 | */ |
15 | interface DOMImplementation { |
16 | /** |
17 | * @param string $qualifiedName |
18 | * @param string $publicId |
19 | * @param string $systemId |
20 | * @return DocumentType |
21 | */ |
22 | public function createDocumentType( string $qualifiedName, string $publicId = '', string $systemId = '' ); |
23 | |
24 | /** |
25 | * @param ?string $namespace |
26 | * @param ?string $qualifiedName |
27 | * @param DocumentType|null $doctype |
28 | * @return XMLDocument |
29 | */ |
30 | public function createDocument( ?string $namespace, ?string $qualifiedName = '', /* ?DocumentType */ $doctype = null ); |
31 | |
32 | /** |
33 | * @param ?string $title |
34 | * @return Document |
35 | */ |
36 | public function createHTMLDocument( ?string $title = null ); |
37 | |
38 | /** |
39 | * @return bool |
40 | */ |
41 | public function hasFeature(): bool; |
42 | |
43 | } |