gl-website-deployer/vendor/doctrine/rst-parser/lib/Renderers/SpanRenderer.php
2024-11-19 08:02:04 +01:00

29 lines
673 B
PHP

<?php
declare(strict_types=1);
namespace Doctrine\RST\Renderers;
use Doctrine\RST\References\ResolvedReference;
interface SpanRenderer
{
public function emphasis(string $text): string;
public function strongEmphasis(string $text): string;
public function nbsp(): string;
public function br(): string;
public function literal(string $text): string;
/** @param mixed[] $attributes */
public function link(?string $url, string $title, array $attributes = []): string;
public function escape(string $span): string;
/** @param string[] $value */
public function reference(ResolvedReference $reference, array $value): string;
}