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