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