This is the interface dynamic throw type extensions implement for non-static methods. To register it in the configuration file use the phpstan.dynamicMethodThrowTypeExtension service tag: ```
services:
-
class: App\PHPStan\MyExtension
tags:
- phpstan.dynamicMethodThrowTypeExtension
| Methods | ||
|---|---|---|
public
|
isMethodSupported(MethodReflection $methodReflection): bool
|
# |
public
|
getThrowTypeFromMethodCall(MethodReflection $methodReflection, MethodCall $methodCall, Scope $scope): ?Type
|
# |