2022-07-08 16:37:38 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace App\CommonMark\Generators;
|
|
|
|
|
|
|
|
use League\CommonMark\Extension\Mention\Generator\MentionGeneratorInterface;
|
|
|
|
use League\CommonMark\Extension\Mention\Mention;
|
|
|
|
use League\CommonMark\Node\Inline\AbstractInline;
|
|
|
|
|
2023-11-19 17:22:02 +00:00
|
|
|
class MentionGenerator implements MentionGeneratorInterface
|
2022-07-08 16:37:38 +01:00
|
|
|
{
|
|
|
|
public function generateMention(Mention $mention): ?AbstractInline
|
|
|
|
{
|
|
|
|
return $mention;
|
|
|
|
}
|
|
|
|
}
|