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

33 lines
512 B
PHP

<?php
declare(strict_types=1);
namespace Doctrine\RST\Nodes;
final class MetaNode extends Node
{
/** @var string */
private $key;
/** @var string */
protected $value;
public function __construct(string $key, string $value)
{
parent::__construct();
$this->key = $key;
$this->value = $value;
}
public function getKey(): string
{
return $this->key;
}
public function getValue(): string
{
return $this->value;
}
}