Guides

ApiClassTextRole extends AbstractReferenceTextRole
in package

FinalYes

Table of Contents

Constants

NAME  = 'api-class'
TYPE  = 'api-class'

Properties

$useRawContent  : bool
$anchorReducer  : AnchorNormalizer
$genericLinkProvider  : GenericLinkProvider
$interlinkParser  : InterlinkParser
$referenceRegex  : string
https://regex101.com/r/KadqKx/1

Methods

__construct()  : mixed
getAliases()  : array<string|int, string>
getName()  : string
processNode()  : AbstractLinkInlineNode
createNode()  : ReferenceNode
extractEmbeddedReference()  : ReferenceData

Constants

Properties

$referenceRegex

https://regex101.com/r/KadqKx/1

private string $referenceRegex = '/^(.*?)(<([^<]+)>)?$/s'

Methods

getAliases()

public getAliases() : array<string|int, string>
Tags
inheritDoc
Return values
array<string|int, string>

createNode()

protected createNode(string $referenceTarget, string|null $referenceName, string $role) : ReferenceNode
Parameters
$referenceTarget : string
$referenceName : string|null
$role : string
Return values
ReferenceNode

        
On this page

Search results