extends |
MethodReflection |
---|
The purpose of this interface is to be able to answer more questions about methods without breaking backward compatibility with existing MethodsClassReflectionExtension.
Developers are meant to only implement MethodReflection and its methods in their code.
New methods on ExtendedMethodReflection will be added in minor versions.
Methods | ||
---|---|---|
public
|
getVariants(): ParametersAcceptorWithPhpDocs[]
|
# |
public
|
getNamedArgumentsVariants(): ParametersAcceptorWithPhpDocs[]|null
|
# |
public
|
getAsserts(): Assertions
|
# |
public
|
getSelfOutType(): ?Type
|
# |
public
|
returnsByReference(): TrinaryLogic
|
# |
public
|
isFinalByKeyword(): TrinaryLogic
|
# |
public
|
isAbstract(): TrinaryLogic|bool
|
# |
public
|
isPure(): TrinaryLogic
|
# |
Methods inherited from PHPStan\Reflection\MethodReflection |
---|
getName(), getPrototype(), isDeprecated(), getDeprecatedDescription(), isFinal(), isInternal(), getThrowType(), hasSideEffects() |
Methods inherited from PHPStan\Reflection\ClassMemberReflection |
---|
getDeclaringClass(), isStatic(), isPrivate(), isPublic(), getDocComment() |