Searched refs:MentionGeneratorInterface (Results 1 – 5 of 5) sorted by relevance
18 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
17 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
19 interface MentionGeneratorInterface17 interface MentionGeneratorInterface global() interface
19 final class StringTemplateLinkGenerator implements MentionGeneratorInterface
20 final class CallbackGenerator implements MentionGeneratorInterface