Skip to content

Kirby 4.5.0

Txt::write()

Writes data to a file

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

Parameters

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

Return type

bool

Parent class

Kirby\Data\Txt inherited from Kirby\Data\Handler