class PhpDocTextNode
Hierarchy
- class \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTextNode implements \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocChildNode uses \PHPStan\PhpDocParser\Ast\NodeAttributes
Expanded class hierarchy of PhpDocTextNode
2 files declare their use of PhpDocTextNode
- DocCommentHelper.php in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Helpers/ DocCommentHelper.php - Printer.php in vendor/
phpstan/ phpdoc-parser/ src/ Printer/ Printer.php
File
-
vendor/
phpstan/ phpdoc-parser/ src/ Ast/ PhpDoc/ PhpDocTextNode.php, line 7
Namespace
PHPStan\PhpDocParser\Ast\PhpDocView source
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;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
NodeAttributes::$attributes | private | property | @var array<string, mixed> |
NodeAttributes::getAttribute | public | function | * |
NodeAttributes::hasAttribute | public | function | |
NodeAttributes::setAttribute | public | function | * |
PhpDocTextNode::$text | public | property | @var string |
PhpDocTextNode::__construct | public | function | |
PhpDocTextNode::__toString | public | function |