Skip to content

Kirby 4.4.1

$isfile->asset()

Returns the file asset object

$isfile->asset(array|string|null $props = null): Kirby\Filesystem\File

Parameters

Name Type Default
$props array|string|null null

Return type

Kirby\Filesystem\File

Parent class

Kirby\Filesystem\IsFile