Methods summary
public
|
|
public
string
|
#
getName( )
Returns the name.
Returns
string
Implementation of
|
public
string
|
#
getShortName( )
Returns the unqualified name (UQN).
Returns the unqualified name (UQN).
Returns
string
Implementation of
|
public
null
|
#
getDeclaringClass( )
Returns the declaring class reflection.
Returns the declaring class reflection.
Returns
null
Implementation of
|
public
null
|
#
getDeclaringClassName( )
Returns the declaring class name.
Returns the declaring class name.
Returns
null
Implementation of
|
public
string
|
#
getNamespaceName( )
Returns the namespace name.
Returns the namespace name.
Returns
string
Implementation of
|
public
boolean
|
#
inNamespace( )
Returns if the function/method is defined within a namespace.
Returns if the function/method is defined within a namespace.
Returns
boolean
Implementation of
|
public
null
|
#
getExtension( )
Returns the PHP extension reflection.
Returns the PHP extension reflection.
Returns
null
|
public
boolean
|
#
getExtensionName( )
Returns the PHP extension name.
Returns the PHP extension name.
Returns
boolean
|
public
string
|
#
getSource( )
Returns the appropriate source code part.
Returns the appropriate source code part.
Returns
string
|
public
integer
|
#
getStartPosition( )
Returns the start position in the file token stream.
Returns the start position in the file token stream.
Returns
integer
|
public
integer
|
#
getEndPosition( )
Returns the end position in the file token stream.
Returns the end position in the file token stream.
Returns
integer
|
public
null
|
#
getFileName( )
Returns the file name the reflection object is defined in.
Returns the file name the reflection object is defined in.
Returns
null
Implementation of
|
public
TokenReflection\ReflectionFile
|
#
getFileReflection( )
Returns a file reflection.
Returns a file reflection.
Returns
Throws
|
public
null
|
#
getStartLine( )
Returns the definition start line number in the file.
Returns the definition start line number in the file.
Returns
null
Implementation of
|
public
null
|
#
getEndLine( )
Returns the definition end line number in the file.
Returns the definition end line number in the file.
Returns
null
Implementation of
|
public
boolean
|
#
hasAnnotation( string $name )
Checks if there is a particular annotation.
Checks if there is a particular annotation.
Parameters
- $name
string $name Annotation name
Returns
boolean
|
public
null
|
#
getAnnotation( string $name )
Returns a particular annotation value.
Returns a particular annotation value.
Parameters
- $name
string $name Annotation name
Returns
null
|
public
array
|
|
public
mixed
|
#
getValue( )
Returns the constant value.
Returns the constant value.
Returns
mixed
Implementation of
|
public
string
|
#
getValueDefinition( )
Returns the part of the source code defining the constant value.
Returns the part of the source code defining the constant value.
Returns
string
Implementation of
|
public
string
|
#
getOriginalValueDefinition( )
Returns the originaly provided value definition.
Returns the originaly provided value definition.
Returns
string
|
public
boolean
|
#
isInternal( )
Returns if the constant is internal.
Returns if the constant is internal.
Returns
boolean
Implementation of
|
public
boolean
|
#
isUserDefined( )
Returns if the constant is user defined.
Returns if the constant is user defined.
Returns
boolean
Implementation of
|
public
boolean
|
#
isTokenized( )
Returns if the current reflection comes from a tokenized source.
Returns if the current reflection comes from a tokenized source.
Returns
boolean
Implementation of
|
public
boolean
|
#
isDeprecated( )
Returns if the reflection subject is deprecated.
Returns if the reflection subject is deprecated.
Returns
boolean
Implementation of
|
public
string
|
#
getPrettyName( )
Returns an element pretty (docblock compatible) name.
Returns an element pretty (docblock compatible) name.
Returns
string
Implementation of
|
public
string
|
#
__toString( )
Returns the string representation of the reflection object.
Returns the string representation of the reflection object.
Returns
string
Implementation of
|
public
TokenReflection\Broker
|
#
getBroker( )
Returns the reflection broker used by this reflection object.
Returns the reflection broker used by this reflection object.
Returns
Implementation of
|
public
array
|
#
getNamespaceAliases( )
Returns imported namespaces and aliases from the declaring namespace.
Returns imported namespaces and aliases from the declaring namespace.
Returns
array
Implementation of
|
public
boolean
|
#
isValid( )
Returns if the constant definition is valid.
Returns if the constant definition is valid.
Returns
boolean
Implementation of
|
final public
mixed
|
#
__get( string $key )
Magic __get method.
Parameters
- $key
string $key Variable name
Returns
mixed
Implementation of
|
final public
boolean
|
#
__isset( string $key )
Magic __isset method.
Parameters
- $key
string $key Variable name
Returns
boolean
Implementation of
|