Skip to content

Kirby 6.0.0

F::similar()

Tries to find similar or the same file by building a glob based on the path

F::similar(string $path, string $pattern = '*'): list

Parameters

Name Type Default
$pathrequired string no default value
$pattern string '*'

Return type

list<string>

Parent class

Kirby\Filesystem\F