Home
last modified time | relevance | path

Searched refs:mentionRegex (Results 1 – 1 of 1) sorted by last modified time

/plugin/commonmark/vendor/league/commonmark/src/Extension/Mention/
H A DMentionParser.php78 public static function createWithStringTemplate(string $name, string $prefix, string $mentionRegex, string $urlTemplate): MentionParser
80 return new self($name, $prefix, $mentionRegex, new StringTemplateLinkGenerator($urlTemplate));
83 public static function createWithCallback(string $name, string $prefix, string $mentionRegex, callable $callback): MentionParser
85 return new self($name, $prefix, $mentionRegex, new CallbackGenerator($callback));
26 private $mentionRegex; global() variable in League\\CommonMark\\Extension\\Mention\\MentionParser
31 __construct(string $symbol, string $mentionRegex, MentionGeneratorInterface $mentionGenerator) global() argument
82 createWithStringTemplate(string $symbol, string $mentionRegex, string $urlTemplate) global() argument
87 createWithCallback(string $symbol, string $mentionRegex, callable $callback) global() argument