Lines Matching refs:reader
13 $reader = new Reader();
14 $reader->xml($input);
16 $reader->next();
18 $this->assertEquals('{http://sabredav.org/ns}root', $reader->getClark());
28 $reader = new Reader();
29 $reader->xml($input);
31 $reader->next();
33 $this->assertEquals('{}root', $reader->getClark());
43 $reader = new Reader();
44 $reader->xml($input);
46 $this->assertNull($reader->getClark());
61 $reader = new Reader();
62 $reader->xml($input);
64 $output = $reader->parse();
106 $reader = new Reader();
107 $reader->xml($input);
109 $output = $reader->parse();
138 $reader = new Reader();
139 $reader->xml($input);
141 $output = $reader->parse();
170 $reader = new Reader();
171 $reader->elementMap = [
174 $reader->xml($input);
176 $output = $reader->parse();
207 $reader = new Reader();
208 $reader->elementMap = [
209 '{http://sabredav.org/ns}elem1' => function(Reader $reader) {
210 $reader->next();
214 $reader->xml($input);
216 $output = $reader->parse();
250 $reader = new Reader();
251 $reader->elementMap = [
252 '{http://sabredav.org/ns}elem1' => function(Reader $reader) {
253 return $reader->readText();
256 $reader->xml($input);
258 $output = $reader->parse();
284 $reader = new Reader();
285 $reader->elementMap = [
288 $reader->xml($input);
291 $output = $reader->parse();
313 $reader = new Reader();
314 $reader->elementMap = [
317 $reader->xml($input);
318 $reader->parse();
337 $reader = new Reader();
338 $reader->xml($input);
339 $reader->parse();
363 $reader = new Reader();
364 $reader->xml($input);
365 $reader->parse();
384 $reader = new Reader();
385 $reader->elementMap = [
386 '{http://sabredav.org/ns}elem1' => function(Reader $reader) {
388 …$innerTree = $reader->parseInnerTree(['{http://sabredav.org/ns}elem1' => function(Reader $reader) {
389 $reader->next();
396 $reader->xml($input);
398 $output = $reader->parse();
437 $reader = new Reader();
438 $reader->elementMap = [
439 '{http://sabredav.org/ns}elem1' => function(Reader $reader) {
441 …$innerTree = $reader->parseGetElements(['{http://sabredav.org/ns}elem1' => function(Reader $reader…
442 $reader->next();
449 $reader->xml($input);
451 $output = $reader->parse();
490 $reader = new Reader();
491 $reader->elementMap = [
492 '{http://sabredav.org/ns}elem1' => function(Reader $reader) {
494 …$innerTree = $reader->parseGetElements(['{http://sabredav.org/ns}elem1' => function(Reader $reader…
495 $reader->next();
502 $reader->xml($input);
504 $output = $reader->parse();