Methods |
public
|
getFile(): string
|
#
|
public
|
getFileDescription(): string
|
#
|
public
|
isDeclareStrictTypes(): bool
|
#
|
public
|
isInTrait(): bool
|
#
|
public
|
getTraitReflection(): ?ClassReflection
|
#
|
public
|
getFunction(): ?PhpFunctionFromParserNodeReflection
|
#
|
public
|
getFunctionName(): ?string
|
#
|
public
|
getParentScope(): ?self
|
#
|
public
|
hasVariableType(string $variableName): TrinaryLogic
|
#
|
public
|
getVariableType(string $variableName): Type
|
#
|
public
|
canAnyVariableExist(): bool
|
#
|
public
|
getDefinedVariables(): array<int, string>
|
#
|
public
|
getMaybeDefinedVariables(): array<int, string>
|
#
|
public
|
hasConstant(Name $name): bool
|
#
|
public
|
getPropertyReflection(Type $typeWithProperty, string $propertyName): ?ExtendedPropertyReflection
|
#
|
public
|
getMethodReflection(Type $typeWithMethod, string $methodName): ?ExtendedMethodReflection
|
#
|
public
|
getConstantReflection(Type $typeWithConstant, string $constantName): ?ClassConstantReflection
|
#
|
public
|
getIterableKeyType(Type $iteratee): Type
|
#
|
public
|
getIterableValueType(Type $iteratee): Type
|
#
|
public
|
isInAnonymousFunction(): bool
|
#
|
public
|
getAnonymousFunctionReflection(): ?ParametersAcceptor
|
#
|
public
|
getAnonymousFunctionReturnType(): ?Type
|
#
|
public
|
getType(Expr $node): Type
|
#
|
public
|
getNativeType(Expr $expr): Type
|
#
|
public
|
getKeepVoidType(Expr $node): Type
|
#
|
public
|
resolveName(Name $name): string
|
#
|
public
|
resolveTypeByName(Name $name): TypeWithClassName
|
#
|
public
|
getTypeFromValue(mixed $value): Type
|
#
|
public
|
hasExpressionType(Expr $node): TrinaryLogic
|
#
|
public
|
isInClassExists(string $className): bool
|
#
|
public
|
isInFunctionExists(string $functionName): bool
|
#
|
public
|
isInClosureBind(): bool
|
#
|
public
|
getFunctionCallStack(): list<FunctionReflection|MethodReflection>
|
#
|
public
|
getFunctionCallStackWithParameters(): list<array{(FunctionReflection|MethodReflection), (ParameterReflection|null)}>
|
#
|
public
|
isParameterValueNullable(Param $parameter): bool
|
#
|
public
|
getFunctionType(Name|Identifier|ComplexType|null $type, bool $isNullable, bool $isVariadic): Type
|
#
|
public
|
isInExpressionAssign(Expr $expr): bool
|
#
|
public
|
isUndefinedExpressionAllowed(Expr $expr): bool
|
#
|
public
|
filterByTruthyValue(Expr $expr): self
|
#
|
public
|
filterByFalseyValue(Expr $expr): self
|
#
|
public
|
isInFirstLevelStatement(): bool
|
#
|
public
|
getPhpVersion(): PhpVersions
|
#
|