1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Reflection; |
4: | |
5: | |
6: | interface ClassMemberAccessAnswerer |
7: | { |
8: | |
9: | |
10: | |
11: | |
12: | public function isInClass(): bool; |
13: | |
14: | public function getClassReflection(): ?ClassReflection; |
15: | |
16: | |
17: | |
18: | |
19: | public function canAccessProperty(PropertyReflection $propertyReflection): bool; |
20: | |
21: | public function canReadProperty(ExtendedPropertyReflection $propertyReflection): bool; |
22: | |
23: | public function canWriteProperty(ExtendedPropertyReflection $propertyReflection): bool; |
24: | |
25: | public function canCallMethod(MethodReflection $methodReflection): bool; |
26: | |
27: | public function canAccessConstant(ClassConstantReflection $constantReflection): bool; |
28: | |
29: | } |
30: | |