StandaloneEmailRule
extends ReferenceRule
in package
FinalYes
Rule for standalone hyperlinks
Syntax example:
Tags
Table of Contents
Methods
- applies() : bool
- apply() : AbstractLinkInlineNode|null
- getPriority() : int
- createReference() : AbstractLinkInlineNode
- rollback() : void
Methods
applies()
public
applies(InlineLexer $lexer) : bool
Parameters
- $lexer : InlineLexer
Return values
boolapply()
public
apply(BlockContext $blockContext, InlineLexer $lexer) : AbstractLinkInlineNode|null
Parameters
- $blockContext : BlockContext
- $lexer : InlineLexer
Return values
AbstractLinkInlineNode|nullgetPriority()
public
getPriority() : int
Return values
intcreateReference()
protected
createReference(BlockContext $blockContext, string $reference[, string|null $text = null ][, bool $registerLink = true ]) : AbstractLinkInlineNode
Parameters
- $blockContext : BlockContext
- $reference : string
- $text : string|null = null
- $registerLink : bool = true
Return values
AbstractLinkInlineNoderollback()
protected
rollback(InlineLexer $lexer, int $position) : void
Parameters
- $lexer : InlineLexer
- $position : int