Skip to content

Kirby 5.1.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
$filerequired string no default value The path for the file or an absolute URL

Return types

stringorfalse

Parent class

Kirby\Filesystem\F