1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\Node\Property;
4:
5: use PHPStan\Analyser\Scope;
6: use PHPStan\Node\PropertyAssignNode;
7:
8: /**
9: * @api
10: */
11: final class PropertyAssign
12: {
13:
14: public function __construct(
15: private PropertyAssignNode $assign,
16: private Scope $scope,
17: )
18: {
19: }
20:
21: public function getAssign(): PropertyAssignNode
22: {
23: return $this->assign;
24: }
25:
26: public function getScope(): Scope
27: {
28: return $this->scope;
29: }
30:
31: }
32: