class
League
/
CommonMark
/
Extension
/
Mention
/
MentionParser
final
MentionParser
Implements
Properties
private
$name
Default: null
private
$prefix
Default: null
private
$identifierPattern
Default: null
private
$mentionGenerator
Default: null
Methods
public
__construct ( string $name , string $prefix , string $identifierPattern , MentionGeneratorInterface $mentionGenerator ) : void
public
getMatchDefinition ( ) : void
public
parse ( InlineParserContext $inlineContext ) : void
public
static
createWithStringTemplate ( string $name , string $prefix , string $mentionRegex , string $urlTemplate ) : void
public
static