Reference

Guide

F::read()

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

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

Parameters

Name Type Default Description
$file string

The path for the file or an absolute URL

Return type

string|bool

Source code

kirby/src/Toolkit/F.php#L566