Skip to content

Kirby 4.4.1

F::read()

Reads the content of a file or requests the contents of a remote HTTP or HTTPS URL

F::read(string $file): string|false

Parameters

Name Type Default Description
$file * string The path for the file or an absolute URL

Return type

string|false

Parent class

Kirby\Filesystem\F