PageHyperlinkResolver
in package
implements
ReferenceResolver
FinalYes
Resolves named and anonymous references to source files
Link Text <../page.rst>
_ or Link Text
Table of Contents
Interfaces
Constants
- PRIORITY = -200
Properties
Methods
- __construct() : mixed
- getPriority() : int
- resolve() : bool
Constants
PRIORITY
public
final mixed
PRIORITY
= -200
Properties
$documentNameResolver read-only
private
DocumentNameResolverInterface
$documentNameResolver
$urlGenerator read-only
private
UrlGeneratorInterface
$urlGenerator
Methods
__construct()
public
__construct(UrlGeneratorInterface $urlGenerator, DocumentNameResolverInterface $documentNameResolver) : mixed
Parameters
- $urlGenerator : UrlGeneratorInterface
- $documentNameResolver : DocumentNameResolverInterface
getPriority()
public
static getPriority() : int
Return values
intresolve()
public
resolve(LinkInlineNode $node, RenderContext $renderContext, Messages $messages) : bool
Parameters
- $node : LinkInlineNode
- $renderContext : RenderContext
- $messages : Messages
Return values
bool —true if the reference is resolved