1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\Node;
4:
5: use PhpParser\Node\Expr;
6: use PhpParser\NodeAbstract;
7:
8: /**
9: * @api
10: */
11: final class InvalidateExprNode extends NodeAbstract implements VirtualNode
12: {
13:
14: public function __construct(private Expr $expr)
15: {
16: parent::__construct($expr->getAttributes());
17: }
18:
19: public function getExpr(): Expr
20: {
21: return $this->expr;
22: }
23:
24: public function getType(): string
25: {
26: return 'PHPStan_Node_InvalidateExpr';
27: }
28:
29: /**
30: * @return string[]
31: */
32: public function getSubNodeNames(): array
33: {
34: return [];
35: }
36:
37: }
38: