1<?php
2
3/** @generate-function-entries */
4
5class XMLReader
6{
7    /** @return bool */
8    public function close() {}
9
10    /** @return string|null */
11    public function getAttribute(string $name) {}
12
13    /** @return string|null */
14    public function getAttributeNo(int $index) {}
15
16    /** @return string|null */
17    public function getAttributeNs(string $name, string $namespace) {}
18
19    /** @return bool */
20    public function getParserProperty(int $property) {}
21
22    /** @return bool */
23    public function isValid() {}
24
25    /** @return string|null */
26    public function lookupNamespace(string $prefix) {}
27
28    /** @return bool */
29    public function moveToAttribute(string $name) {}
30
31    /** @return bool */
32    public function moveToAttributeNo(int $index) {}
33
34    /** @return bool */
35    public function moveToAttributeNs(string $name, string $namespace) {}
36
37    /** @return bool */
38    public function moveToElement() {}
39
40    /** @return bool */
41    public function moveToFirstAttribute() {}
42
43    /** @return bool */
44    public function moveToNextAttribute() {}
45
46    /** @return bool */
47    public function read() {}
48
49    /** @return bool */
50    public function next(?string $name = null) {}
51
52    /** @return bool|XMLReader */
53    public static function open(string $uri, ?string $encoding = null, int $flags = 0) {}
54
55    /** @return string */
56    public function readInnerXml() {}
57
58    /** @return string */
59    public function readOuterXml() {}
60
61    /** @return string */
62    public function readString() {}
63
64    /** @return bool */
65    public function setSchema(?string $filename) {}
66
67    /** @return bool */
68    public function setParserProperty(int $property, bool $value) {}
69
70    /** @return bool */
71    public function setRelaxNGSchema(?string $filename) {}
72
73    /** @return bool */
74    public function setRelaxNGSchemaSource(?string $source) {}
75
76    /** @return bool|XMLReader */
77    public static function XML(string $source, ?string $encoding = null, int $flags = 0) {}
78
79    /** @return DOMNode|false */
80    public function expand(?DOMNode $baseNode = null) {}
81}
82