24 lines
388 B
PHP
24 lines
388 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Doctrine\RST\Nodes;
|
||
|
|
||
|
final class SectionEndNode extends Node
|
||
|
{
|
||
|
/** @var TitleNode */
|
||
|
private $titleNode;
|
||
|
|
||
|
public function __construct(TitleNode $titleNode)
|
||
|
{
|
||
|
parent::__construct();
|
||
|
|
||
|
$this->titleNode = $titleNode;
|
||
|
}
|
||
|
|
||
|
public function getTitleNode(): TitleNode
|
||
|
{
|
||
|
return $this->titleNode;
|
||
|
}
|
||
|
}
|