33 lines
512 B
PHP
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;
|
|
}
|
|
}
|