ClassBasedFqsenUrlGenerator

in package

Generates a relative URL with properties for use in the generated HTML documentation.

Properties

private$urlGenerator  : \Symfony\Component\Routing\Generator\UrlGeneratorInterface                

private$slugger  : \Symfony\Component\String\Slugger\SluggerInterface                

Methods

public__construct(UrlGeneratorInterface $urlGenerator, SluggerInterface $slugger) : mixed

Parameters

$urlGenerator : UrlGeneratorInterface
$slugger : SluggerInterface

Returns

mixed

Generates a URL from the given node or returns false if unable.

public__invoke(Fqsen $fqsen) : string

Parameters

$fqsen : Fqsen

Returns

string