Update website

This commit is contained in:
Guilhem Lavaux 2024-11-19 08:02:04 +01:00
parent 4413528994
commit 1d90fbf296
6865 changed files with 1091082 additions and 0 deletions

View file

@ -0,0 +1,42 @@
<?php
declare(strict_types=1);
namespace Doctrine\RST\Parser;
final class Link
{
public const TYPE_LINK = 'link';
public const TYPE_ANCHOR = 'anchor';
/** @var string */
private $name;
/** @var string */
private $url;
/** @var string */
private $type;
public function __construct(string $name, string $url, string $type)
{
$this->name = $name;
$this->url = $url;
$this->type = $type;
}
public function getName(): string
{
return $this->name;
}
public function getUrl(): string
{
return $this->url;
}
public function getType(): string
{
return $this->type;
}
}