Home
last modified time | relevance | path

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

/plugin/commonmark/vendor/league/commonmark/src/Extension/Mention/Generator/
H A DCallbackGenerator.php20 final class CallbackGenerator implements MentionGeneratorInterface
H A DStringTemplateLinkGenerator.php19 final class StringTemplateLinkGenerator implements MentionGeneratorInterface
H A DMentionGeneratorInterface.php19 interface MentionGeneratorInterface
17 interface MentionGeneratorInterface global() interface
/plugin/commonmark/vendor/league/commonmark/src/Extension/Mention/
H A DMentionExtension.php18 use League\CommonMark\Extension\Mention\Generator\MentionGeneratorInterface;
38 Expect::type(MentionGeneratorInterface::class),
50 if ($mention['generator'] instanceof MentionGeneratorInterface) {
57 throw new InvalidConfigurationException(\sprintf('The "generator" provided for the "%s" MentionParser configuration must be a string template, callable, or an object that implements %s.', $name, MentionGeneratorInterface::class));
17 use League\CommonMark\Extension\Mention\Generator\MentionGeneratorInterface; global() alias
H A DMentionParser.php17 use League\CommonMark\Extension\Mention\Generator\MentionGeneratorInterface;
35 private MentionGeneratorInterface $mentionGenerator;
37 public function __construct(string $name, string $prefix, string $identifierPattern, MentionGeneratorInterface $mentionGenerator)
15 use League\CommonMark\Extension\Mention\Generator\MentionGeneratorInterface; global() alias