gl-website-deployer/vendor/doctrine/rst-parser/lib/Nodes/CallableNode.php
2024-11-19 08:02:04 +01:00

24 lines
377 B
PHP

<?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;
}
}