AttributesListener
Table of Contents
-
DIRECTION_PREFIX
= 'prefix'
-
DIRECTION_SUFFIX
= 'suffix'
-
processDocument()
: void
-
findTargetAndDirection()
: array<string|int, \League\CommonMark\Node\Node|string|null>
-
getNext()
: Node|null
-
getPrevious()
: Node|null
-
isAttributesNode()
: bool
DIRECTION_PREFIX
private
mixed
DIRECTION_PREFIX
= 'prefix'
DIRECTION_SUFFIX
private
mixed
DIRECTION_SUFFIX
= 'suffix'
processDocument()
public
processDocument(DocumentParsedEvent $event) : void
Parameters
-
$event
: DocumentParsedEvent
-
Return values
void
—
findTargetAndDirection()
private
static findTargetAndDirection(Node $node) : array<string|int, \League\CommonMark\Node\Node|string|null>
Parameters
-
$node
: Node
-
Return values
array<string|int, \League\CommonMark\Node\Node|string|null>
—
getNext()
private
static getNext([Node|null $node = null ]) : Node|null
Parameters
-
$node
: Node|null
= null
-
Return values
Node|null
—
getPrevious()
private
static getPrevious([Node|null $node = null ]) : Node|null
Parameters
-
$node
: Node|null
= null
-
Return values
Node|null
—
isAttributesNode()
private
static isAttributesNode(Node $node) : bool
Parameters
-
$node
: Node
-
Return values
bool
—