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