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