Searched refs:createWithCallback (Results 1 – 2 of 2) sorted by last modified time
55 $environment->addInlineParser(MentionParser::createWithCallback($name, $mention['prefix'], $mention['pattern'], $mention['generator']));
83 public static function createWithCallback(string $name, string $prefix, string $mentionRegex, callable $callback): MentionParser87 public static function createWithCallback(string $symbol, string $mentionRegex, callable $callback): MentionParser global() function in League\\CommonMark\\Extension\\Mention\\MentionParser