ClassBasedFqsenUrlGenerator
in package
Generates a relative URL with properties for use in the generated HTML documentation.
Table of Contents
- $slugger : SluggerInterface
- $urlGenerator : UrlGeneratorInterface
- __construct() : mixed
- __invoke() : string
- Generates a URL from the given node or returns false if unable.
Properties
$slugger
private
SluggerInterface
$slugger
$urlGenerator
private
UrlGeneratorInterface
$urlGenerator
Methods
__construct()
public
__construct(UrlGeneratorInterface $urlGenerator, SluggerInterface $slugger) : mixed
Parameters
- $urlGenerator : UrlGeneratorInterface
- $slugger : SluggerInterface
Return values
mixed —__invoke()
Generates a URL from the given node or returns false if unable.
public
__invoke(Fqsen $fqsen) : string
Parameters
- $fqsen : Fqsen