Update website
This commit is contained in:
parent
4413528994
commit
1d90fbf296
6865 changed files with 1091082 additions and 0 deletions
32
vendor/doctrine/rst-parser/lib/Nodes/FigureNode.php
vendored
Normal file
32
vendor/doctrine/rst-parser/lib/Nodes/FigureNode.php
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Doctrine\RST\Nodes;
|
||||
|
||||
final class FigureNode extends Node
|
||||
{
|
||||
/** @var ImageNode */
|
||||
private $image;
|
||||
|
||||
/** @var Node|null */
|
||||
private $document;
|
||||
|
||||
public function __construct(ImageNode $image, ?Node $document = null)
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->image = $image;
|
||||
$this->document = $document;
|
||||
}
|
||||
|
||||
public function getImage(): ImageNode
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
|
||||
public function getDocument(): ?Node
|
||||
{
|
||||
return $this->document;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue