Documentation

InlineMentionParser
in package
implements InlineParserInterface

Tags
deprecated

Use MentionParser instead

Interfaces, Classes and Traits

InlineParserInterface

Table of Contents

$handleRegex  : string
$linkPattern  : string
__construct()  : mixed
createGithubHandleParser()  : InlineMentionParser
createTwitterHandleParser()  : InlineMentionParser
getCharacters()  : array<string|int, string>
parse()  : bool

Properties

Methods

__construct()

public __construct(string $linkPattern[, string $handleRegex = '/^[A-Za-z0-9_]+(?!\w)/' ]) : mixed
Parameters
$linkPattern : string
$handleRegex : string = '/^[A-Za-z0-9_]+(?!\w)/'
Return values
mixed

getCharacters()

public getCharacters() : array<string|int, string>
Return values
array<string|int, string>

Search results