27 lines
437 B
PHP
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;
|
|
}
|
|
}
|