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

38 lines
629 B
PHP

<?php
declare(strict_types=1);
namespace Doctrine\RST\Renderers;
use Doctrine\RST\Nodes\Node;
final class RenderedNode
{
/** @var Node */
private $node;
/** @var string */
private $rendered;
public function __construct(Node $node, string $rendered)
{
$this->node = $node;
$this->rendered = $rendered;
}
public function getNode(): Node
{
return $this->node;
}
public function setRendered(string $rendered): void
{
$this->rendered = $rendered;
}
public function getRendered(): string
{
return $this->rendered;
}
}