Skip to content

Kirby 3.8.4

$isfile->clone()

Creates an instance with the same initial properties.

$isfile->clone(array $props = [ ]): Kirby\Filesystem\IsFile

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Filesystem\IsFile

This method does not modify the existing $isfile object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Filesystem\IsFile