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

27 lines
437 B
PHP

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