mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 01:22:23 -04:00
22 lines
319 B
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;
|
|
}
|
|
|
|
}
|