Skip to content

Kirby 4.4.1

Xml::write()

Writes data to a file

Xml::write(string $file, $data = [ ]): bool

Parameters

Name Type Default
$file * string
$data mixed [ ]

Return type

bool

Parent class

Kirby\Data\Xml inherited from Kirby\Data\Handler