Lines Matching refs:writer
7 protected $writer; variable in Sabre\\Xml\\WriterTest
11 $this->writer = new Writer();
12 $this->writer->namespaceMap = [
295 $this->writer->namespaceMap['http://sabredav.org/ns'] = null;
311 $this->writer->namespaceMap['http://sabredav.org/ns'] = '';
327 $this->writer->writeElement("{http://sabredav.org/ns}foo", 'content');
335 $this->assertEquals($output, $this->writer->outputMemory());
342 …$this->writer->writeElement("{http://sabredav.org/ns}foo", new Element\KeyValue(['{http://sabredav…
352 $this->assertEquals($output, $this->writer->outputMemory());
361 $this->writer->write(new \StdClass());
367 $this->writer->startElement("foo");
368 $this->writer->endElement();
376 $this->assertEquals($output, $this->writer->outputMemory());
383 '{http://sabredav.org/ns}root' => function(Writer $writer) {
384 $writer->text('deferred writer');
418 $this->writer->classMap['stdClass'] = function(Writer $writer, $value) {
421 $writer->writeElement('{http://sabredav.org/ns}' . $key, $val);