gl-website-deployer/vendor/doctrine/rst-parser/lib/Event/PreNodeRenderEvent.php

27 lines
434 B
PHP
Raw Permalink Normal View History

2024-11-19 08:02:04 +01:00
<?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;
}
}