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

27 lines
526 B
PHP
Raw 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\DocumentNode;
final class PostParseDocumentEvent extends EventArgs
{
public const POST_PARSE_DOCUMENT = 'postParseDocument';
/** @var DocumentNode */
private $documentNode;
public function __construct(DocumentNode $documentNode)
{
$this->documentNode = $documentNode;
}
public function getDocumentNode(): DocumentNode
{
return $this->documentNode;
}
}