Skip to content

Kirby 4.5.0

$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