| 1 | <?php |
||
| 21 | class Stream extends XmlElement |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * XmlElement constructor |
||
| 25 | * |
||
| 26 | * @param array $options { |
||
| 27 | * @var mixed $content Content of element |
||
| 28 | * @var array $attributes Element attributes |
||
| 29 | * } |
||
| 30 | */ |
||
| 31 | public function __construct(array $options) |
||
| 35 | |||
| 36 | |||
| 37 | public function setInnerXml($value) |
||
| 41 | |||
| 42 | public function setContent($value) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Appends child to element |
||
| 49 | * |
||
| 50 | * @param XmlElement|string $element |
||
| 51 | * |
||
| 52 | * @return XmlElement|string Same as $element |
||
| 53 | */ |
||
| 54 | public function appendChild($element) |
||
| 60 | |||
| 61 | } |
||
| 62 |