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