Interfaces, Classes and Traits
- InlineParserInterface
Table of Contents
-
$mentionGenerator
: MentionGeneratorInterface
-
$mentionRegex
: string
-
$symbol
: string
-
__construct()
: mixed
-
createWithCallback()
: MentionParser
-
createWithStringTemplate()
: MentionParser
-
getCharacters()
: array<string|int, string>
-
parse()
: bool
$mentionGenerator
private
MentionGeneratorInterface
$mentionGenerator
$mentionRegex
private
string
$mentionRegex
$symbol
private
string
$symbol
__construct()
public
__construct(string $symbol, string $mentionRegex, MentionGeneratorInterface $mentionGenerator) : mixed
Parameters
-
$symbol
: string
-
-
$mentionRegex
: string
-
-
$mentionGenerator
: MentionGeneratorInterface
-
Return values
mixed
—
createWithCallback()
public
static createWithCallback(string $symbol, string $mentionRegex, callable $callback) : MentionParser
Parameters
-
$symbol
: string
-
-
$mentionRegex
: string
-
-
$callback
: callable
-
Return values
MentionParser
—
createWithStringTemplate()
public
static createWithStringTemplate(string $symbol, string $mentionRegex, string $urlTemplate) : MentionParser
Parameters
-
$symbol
: string
-
-
$mentionRegex
: string
-
-
$urlTemplate
: string
-
Return values
MentionParser
—
getCharacters()
public
getCharacters() : array<string|int, string>
Return values
array<string|int, string>
—
parse()
public
parse(InlineParserContext $inlineContext) : bool
Parameters
-
$inlineContext
: InlineParserContext
-
Return values
bool
—