Skip to content

Kirby 4.5.0

Txt::read()

Reads data from a file

Txt::read(string $file): array

Parameters

Name Type Default
$file * string

Return type

array

Parent class

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