\phpDocumentor\Transformer\RouterClassBasedFqsenUrlGenerator

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

Summary

Methods
Properties
Constants
__construct()
__invoke()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$urlGenerator
$slugger
N/A

Properties

$urlGenerator

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

Type

\Symfony\Component\Routing\Generator\UrlGeneratorInterface —

$slugger

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

Type

\Symfony\Component\String\Slugger\SluggerInterface —

Methods

__construct()

__construct(\Symfony\Component\Routing\Generator\UrlGeneratorInterface  $urlGenerator, \Symfony\Component\String\Slugger\SluggerInterface  $slugger) : mixed

Parameters

\Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator
\Symfony\Component\String\Slugger\SluggerInterface $slugger

Returns

mixed —

__invoke()

__invoke(\phpDocumentor\Reflection\Fqsen  $fqsen) : string

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

Parameters

\phpDocumentor\Reflection\Fqsen $fqsen

Returns

string —