class InlineSpoiler extends AbstractInlineMarkup

Properties

protected Parser $parser from  AbstractPass
protected ParsedText $text from  AbstractPass

Methods

__construct(Parser $parser, ParsedText $text)

No description

void
parse()

Parse the prepared text from stored parser

void
parseInlineMarkup(string $str, string $regexp, string $tagName)

Parse given inline markup in text

Details

in AbstractPass at line 29
__construct(Parser $parser, ParsedText $text)

No description

Parameters

Parser $parser
ParsedText $text

at line 15
void parse()

Parse the prepared text from stored parser

Return Value

void

protected void parseInlineMarkup(string $str, string $regexp, string $tagName)

Parse given inline markup in text

The markup must start and end with exactly 2 characters

Parameters

string $str

First markup string

string $regexp

Regexp used to match the markup's span

string $tagName

Name of the tag produced by this markup

Return Value

void