Skip to content

Kirby 5.3.0

Url::editor()

Use Whoops to create an editor URL to open a file at the given line number

Url::editor(string|false $editor, string|null $file, int $line = 0): string|null

Parameters

Name Type Default
$editorrequired stringorfalse no default value
$file stringornull no default value
$line int 0

Return types

stringornull

Parent class

Kirby\Http\Url