class ConstExprStringNode
Hierarchy
- class \PHPStan\PhpDocParser\Ast\ConstExpr\ConstExprStringNode implements \PHPStan\PhpDocParser\Ast\ConstExpr\ConstExprNode uses \PHPStan\PhpDocParser\Ast\NodeAttributes
Expanded class hierarchy of ConstExprStringNode
6 files declare their use of ConstExprStringNode
- AnnotationTypeHelper.php in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Helpers/ AnnotationTypeHelper.php - ArrayShapeItemNode.php in vendor/
phpstan/ phpdoc-parser/ src/ Ast/ Type/ ArrayShapeItemNode.php - DoctrineArrayItem.php in vendor/
phpstan/ phpdoc-parser/ src/ Ast/ PhpDoc/ Doctrine/ DoctrineArrayItem.php - ObjectShapeItemNode.php in vendor/
phpstan/ phpdoc-parser/ src/ Ast/ Type/ ObjectShapeItemNode.php - PhpDocParser.php in vendor/
phpstan/ phpdoc-parser/ src/ Parser/ PhpDocParser.php
File
-
vendor/
phpstan/ phpdoc-parser/ src/ Ast/ ConstExpr/ ConstExprStringNode.php, line 7
Namespace
PHPStan\PhpDocParser\Ast\ConstExprView source
class ConstExprStringNode implements ConstExprNode {
use NodeAttributes;
/** @var string */
public $value;
public function __construct(string $value) {
$this->value = $value;
}
public function __toString() : string {
return $this->value;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ConstExprStringNode::$value | public | property | @var string | 1 |
ConstExprStringNode::__construct | public | function | 2 | |
ConstExprStringNode::__toString | public | function | 2 | |
NodeAttributes::$attributes | private | property | @var array<string, mixed> | |
NodeAttributes::getAttribute | public | function | * | |
NodeAttributes::hasAttribute | public | function | ||
NodeAttributes::setAttribute | public | function | * |