Skip to content

Kirby 4.5.0

Dir::link()

Create a (symbolic) link to a directory

Dir::link(string $source, string $link): bool

Parameters

Name Type Default
$source * string
$link * string

Return type

bool

Parent class

Kirby\Filesystem\Dir