Interface PHPStan\Reflection\ExtendedParametersAcceptor

extends ParametersAcceptor

Extended function/method signature with separate PHPDoc and native types. Extends ParametersAcceptor with:

  • Extended parameter reflections (separate PHPDoc/native types per parameter)
  • Separate PHPDoc and native return types (vs the combined return type from ParametersAcceptor)
  • Call-site variance map for template type parameters This is the return type of FunctionReflection::getVariants() and ExtendedMethodReflection::getVariants().
Methods
Methods inherited from PHPStan\Reflection\ParametersAcceptor
getTemplateTypeMap(), getResolvedTemplateTypeMap(), isVariadic(), getReturnType()