Copied!
CloneableFinalInstantiable
Methods
public __construct(string $name, string $prefix, string $identifierPattern, League\CommonMark\Extension\Mention\Generator\MentionGeneratorInterface $mentionGenerator)
public static createWithCallback(string $name, string $prefix, string $mentionRegex, callable $callback) : League\CommonMark\Extension\Mention\MentionParser
public static createWithStringTemplate(string $name, string $prefix, string $mentionRegex, string $urlTemplate) : League\CommonMark\Extension\Mention\MentionParser
public getMatchDefinition() : League\CommonMark\Parser\Inline\InlineParserMatch
public parse(League\CommonMark\Parser\InlineParserContext $inlineContext) : bool
Properties
private string $identifierPattern
 
  • psalm-readonly
private League\CommonMark\Extension\Mention\Generator\MentionGeneratorInterface $mentionGenerator
 
  • psalm-readonly
private string $name
 
  • psalm-readonly
private string $prefix
 
  • psalm-readonly
Methods
public static createWithCallback(string $name, string $prefix, string $mentionRegex, callable $callback) : League\CommonMark\Extension\Mention\MentionParser
public static createWithStringTemplate(string $name, string $prefix, string $mentionRegex, string $urlTemplate) : League\CommonMark\Extension\Mention\MentionParser
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration