1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Type; |
4: | |
5: | use PhpParser\Node\Expr\MethodCall; |
6: | use PHPStan\Analyser\Scope; |
7: | use PHPStan\Reflection\MethodReflection; |
8: | |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | |
16: | |
17: | |
18: | |
19: | |
20: | |
21: | |
22: | |
23: | |
24: | |
25: | |
26: | interface DynamicMethodThrowTypeExtension |
27: | { |
28: | |
29: | public function isMethodSupported(MethodReflection $methodReflection): bool; |
30: | |
31: | public function getThrowTypeFromMethodCall(MethodReflection $methodReflection, MethodCall $methodCall, Scope $scope): ?Type; |
32: | |
33: | } |
34: | |