Skip to content

Kirby 4.5.0

F::size()

Returns the size of a file or an array of files.

F::size(array|string $file): int

Parameters

Name Type Default Description
$file * array|string file path or array of paths

Return type

int

Parent class

Kirby\Filesystem\F