Files
theloftstore/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PhpDocTextNode.php
T
2025-03-28 08:52:46 +01:00

27 lines
376 B
PHP

<?php declare(strict_types = 1);
namespace PHPStan\PhpDocParser\Ast\PhpDoc;
use PHPStan\PhpDocParser\Ast\NodeAttributes;
class PhpDocTextNode implements PhpDocChildNode
{
use NodeAttributes;
/** @var string */
public $text;
public function __construct(string $text)
{
$this->text = $text;
}
public function __toString(): string
{
return $this->text;
}
}