Класс XmlGenerator
| Methods | ||
|---|---|---|
public
|
__construct(Config $config)
|
# |
public
|
startDocument(string $version = '1.0', string $encoding = 'utf-8'): self
|
# |
public
|
startElement(string $name, array $attribites = [], string|null $comment = null): self
|
# |
public
|
closeElement(): self
|
# |
public
|
get(): Xml
|
# |
public
|
addAttribute(string $name, string|int $text): self
|
# |
public
|
addElement(
string $name,
string|int|null|bool $content = false,
array $attribites = [],
string|null $comment = null,
): self
|
# |