gl-website-deployer/vendor/doctrine/rst-parser/lib/Parser/DirectiveOption.php

33 lines
518 B
PHP
Raw Normal View History

2024-11-19 08:02:04 +01:00
<?php
declare(strict_types=1);
namespace Doctrine\RST\Parser;
final class DirectiveOption
{
/** @var string */
private $name;
/** @var mixed */
private $value;
/** @param mixed $value */
public function __construct(string $name, $value)
{
$this->name = $name;
$this->value = $value;
}
public function getName(): string
{
return $this->name;
}
/** @return mixed */
public function getValue()
{
return $this->value;
}
}