API Reference
Namespaces
PhpParser
Builder
Comment
ErrorHandler
Lexer
Node
NodeVisitor
Parser
PrettyPrinter
PHPStan
Analyser
BetterReflection
Broker
Classes
Collectors
Command
DependencyInjection
Diagnose
File
Node
Parser
Php
PhpDoc
PhpDocParser
Reflection
Callables
Php
Rules
Testing
Type
none
Classes
Assertions
ClassConstantReflection
ClassReflection
EnumCaseReflection
FunctionVariant
FunctionVariantWithPhpDocs
GenericParametersAcceptorResolver
InitializerExprContext
InitializerExprTypeResolver
ParametersAcceptorSelector
PassedByReference
TrivialParametersAcceptor
Interfaces
AdditionalConstructorsExtension
AllowedSubTypesClassReflectionExtension
BrokerAwareExtension
ClassMemberAccessAnswerer
ClassMemberReflection
ConstantReflection
ExtendedMethodReflection
FunctionReflection
GlobalConstantReflection
MethodReflection
MethodsClassReflectionExtension
NamespaceAnswerer
ParameterReflection
ParameterReflectionWithPhpDocs
ParametersAcceptor
ParametersAcceptorWithPhpDocs
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: