<?php
declare(strict_types=1);
namespace League\CommonMark\Reference;
final class Reference implements ReferenceInterface
{
private string $label;
private string $destination;
private string $title;
public function __construct(string $label, string $destination, string $title)
{
$this->label = $label;
$this->destination = $destination;
$this->title = $title;
}
public function getLabel(): string
{
return $this->label;
}
public function getDestination(): string