web/vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstExprStringNode.php

22 lines
319 B
PHP

<?php declare(strict_types = 1);
namespace PHPStan\PhpDocParser\Ast\ConstExpr;
class ConstExprStringNode implements ConstExprNode
{
/** @var string */
public $value;
public function __construct(string $value)
{
$this->value = $value;
}
public function __toString(): string
{
return $this->value;
}
}