class ConstExprIntegerNode
Hierarchy
- class \PHPStan\PhpDocParser\Ast\ConstExpr\ConstExprIntegerNode implements \PHPStan\PhpDocParser\Ast\ConstExpr\ConstExprNode uses \PHPStan\PhpDocParser\Ast\NodeAttributes
Expanded class hierarchy of ConstExprIntegerNode
6 files declare their use of ConstExprIntegerNode
- 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 - PhpDocParser.php in vendor/
phpstan/ phpdoc-parser/ src/ Parser/ PhpDocParser.php - RequireExplicitAssertionSniff.php in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ PHP/ RequireExplicitAssertionSniff.php
File
-
vendor/
phpstan/ phpdoc-parser/ src/ Ast/ ConstExpr/ ConstExprIntegerNode.php, line 7
Namespace
PHPStan\PhpDocParser\Ast\ConstExprView source
class ConstExprIntegerNode 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 |
---|---|---|---|
ConstExprIntegerNode::$value | public | property | @var string |
ConstExprIntegerNode::__construct | public | function | |
ConstExprIntegerNode::__toString | public | function | |
NodeAttributes::$attributes | private | property | @var array<string, mixed> |
NodeAttributes::getAttribute | public | function | * |
NodeAttributes::hasAttribute | public | function | |
NodeAttributes::setAttribute | public | function | * |