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