DocReferenceResolver
in package
implements
ReferenceResolver
FinalYes
Table of Contents
Interfaces
Constants
- PRIORITY = 1000
Properties
Methods
- __construct() : mixed
- getPriority() : int
- resolve() : bool
Constants
PRIORITY
public
final mixed
PRIORITY
= 1000
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