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

27 lines
434 B
PHP

<?php
declare(strict_types=1);
namespace Doctrine\RST\Event;
use Doctrine\Common\EventArgs;
use Doctrine\RST\Nodes\Node;
final class PreNodeRenderEvent extends EventArgs
{
public const PRE_NODE_RENDER = 'preNodeRender';
/** @var Node */
private $node;
public function __construct(Node $node)
{
$this->node = $node;
}
public function getNode(): Node
{
return $this->node;
}
}