Skip to content

Kirby 5.0.4

F::size()

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

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

Parameters

Name Type Default Description
$filerequired stringorarray no default value file path or array of paths

Return type

int

Parent class

Kirby\Filesystem\F