1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Reflection; |
4: | |
5: | /** @api */ |
6: | interface ClassMemberAccessAnswerer |
7: | { |
8: | |
9: | public function isInClass(): bool; |
10: | |
11: | public function getClassReflection(): ?ClassReflection; |
12: | |
13: | public function canAccessProperty(PropertyReflection $propertyReflection): bool; |
14: | |
15: | public function canCallMethod(MethodReflection $methodReflection): bool; |
16: | |
17: | public function canAccessConstant(ConstantReflection $constantReflection): bool; |
18: | |
19: | } |
20: |