UrlGeneratorInterface
in
Table of Contents
Methods
- createFileUrl() : string
- Create a url with a file ending derived from the output format
- generateCanonicalOutputUrl() : string
- generateInternalUrl() : string
Methods
createFileUrl()
Create a url with a file ending derived from the output format
public
createFileUrl(RenderContext $context, string $filename[, string|null $anchor = null ]) : string
Parameters
- $context : RenderContext
- $filename : string
- $anchor : string|null = null
Return values
stringgenerateCanonicalOutputUrl()
public
generateCanonicalOutputUrl(RenderContext $context, string $reference[, string|null $anchor = null ]) : string
Parameters
- $context : RenderContext
- $reference : string
- $anchor : string|null = null
Return values
stringgenerateInternalUrl()
public
generateInternalUrl(RenderContext $renderContext, string $canonicalUrl) : string
Parameters
- $renderContext : RenderContext
- $canonicalUrl : string