public function __construct(ElementWriter $writer, $name, $attr = array(), $text = '') { $this->name = $name; $this->attr = $attr; $this->text = $text; $this->writer = $writer; $this->writer->startElement($this); }
public function __construct(ElementWriter $writer, $name, $attr = array(), $text = '') { $this->name = $name; $this->attr = $attr; $this->text = $text; $this->writer = $writer; $this->writer->startElement($this); }