Skip to content

Kirby 5.0.4

$file->isAccessible()

Checks if the file is accessible to the current user This permission depends on the read option until v6

$file->isAccessible(): bool

Return type

bool

This method modifies the existing $file object it is applied to and returns it again.

Parent class

Kirby\Cms\File