API Reference
Namespaces
PhpParser
Builder
Comment
ErrorHandler
Internal
Lexer
Node
NodeVisitor
Parser
PrettyPrinter
PHPStan
Analyser
BetterReflection
Classes
Collectors
Command
DependencyInjection
Diagnose
File
Node
Parser
Php
PhpDoc
PhpDocParser
Reflection
Callables
Php
Rules
Testing
Type
Classes
Assertions
ClassReflection
EnumCaseReflection
ExtendedFunctionVariant
FunctionVariant
GenericParametersAcceptorResolver
InitializerExprContext
InitializerExprTypeResolver
ParametersAcceptorSelector
PassedByReference
TrivialParametersAcceptor
Interfaces
AdditionalConstructorsExtension
AllowedSubTypesClassReflectionExtension
ClassConstantReflection
ClassMemberAccessAnswerer
ClassMemberReflection
ConstantReflection
ExtendedMethodReflection
ExtendedParameterReflection
ExtendedParametersAcceptor
ExtendedPropertyReflection
FunctionReflection
MethodReflection
MethodsClassReflectionExtension
NamespaceAnswerer
ParameterReflection
ParametersAcceptor
PropertiesClassReflectionExtension
PropertyReflection
ReflectionProvider
Overview
Namespace
Interface
Tree
1:
<?php
declare
(strict_types =
1
);
2:
3:
namespace
PHPStan\Reflection;
4:
5:
/** @api */
6:
interface
NamespaceAnswerer
7:
{
8:
9:
/**
10:
* @return non-empty-string|null
11:
*/
12:
public
function
getNamespace(): ?string;
13:
14:
}
15: