gl-website-deployer/vendor/doctrine/rst-parser/lib/Nodes/CallableNode.php

24 lines
377 B
PHP
Raw Normal View History

2024-11-19 08:02:04 +01:00
<?php
declare(strict_types=1);
namespace Doctrine\RST\Nodes;
final class CallableNode extends Node
{
/** @var callable */
private $callable;
public function __construct(callable $callable)
{
parent::__construct();
$this->callable = $callable;
}
public function getCallable(): callable
{
return $this->callable;
}
}