trait ResolvesSourceHref

Resolve source links for consumers that provide a $basePath property.

Properties

protected array<string, string> $editorHrefs

All of the href formats for common editors.

Methods

string|null
resolveSourceHref(string $file, int|null $line)

Resolve the source href, if possible.

Details

at line 50
protected string|null resolveSourceHref(string $file, int|null $line)

Resolve the source href, if possible.

Parameters

string $file
int|null $line

Return Value

string|null