Methods summary
public
boolean
|
#
hasFile( string $fileName )
Returns if a file with the given filename has been processed.
Returns if a file with the given filename has been processed.
Parameters
- $fileName
string $fileName File name
Returns
boolean
Implementation of
|
public
TokenReflection\ReflectionFile
|
#
getFile( string $fileName )
Returns a file reflection.
Returns a file reflection.
Parameters
- $fileName
string $fileName File name
Returns
Throws
Implementation of
|
public
array
|
#
getFiles( )
Returns file reflections.
Returns file reflections.
Returns
array
Implementation of
|
public
boolean
|
#
hasNamespace( string $namespaceName )
Returns if there was such namespace processed (FQN expected).
Returns if there was such namespace processed (FQN expected).
Parameters
- $namespaceName
string $namespaceName Namespace name
Returns
boolean
Implementation of
|
public
TokenReflection\IReflectionNamespace
|
#
getNamespace( string $namespaceName )
Returns a reflection object of the given namespace.
Returns a reflection object of the given namespace.
Parameters
- $namespaceName
string $namespaceName Namespace name
Returns
Throws
Implementation of
|
public
array
|
#
getNamespaces( )
Returns all present namespaces.
Returns all present namespaces.
Returns
array
|
public
boolean
|
#
hasClass( string $className )
Returns if there was such class processed (FQN expected).
Returns if there was such class processed (FQN expected).
Parameters
- $className
string $className Class name
Returns
boolean
Implementation of
|
public
TokenReflection\IReflectionClass
|
#
getClass( string $className )
Returns a reflection object of the given class (FQN expected).
Returns a reflection object of the given class (FQN expected).
Parameters
- $className
string $className CLass bame
Returns
Implementation of
|
public
array
|
|
public
boolean
|
#
hasConstant( string $constantName )
Returns if there was such constant processed (FQN expected).
Returns if there was such constant processed (FQN expected).
Parameters
- $constantName
string $constantName Constant name
Returns
boolean
Implementation of
|
public
TokenReflection\IReflectionConstant
|
#
getConstant( string $constantName )
Returns a reflection object of a constant (FQN expected).
Returns a reflection object of a constant (FQN expected).
Parameters
- $constantName
string $constantName Constant name
Returns
Throws
Implementation of
|
public
array
|
#
getConstants( )
Returns all constants from all namespaces.
Returns all constants from all namespaces.
Returns
array
Implementation of
|
public
boolean
|
#
hasFunction( string $functionName )
Returns if there was such function processed (FQN expected).
Returns if there was such function processed (FQN expected).
Parameters
- $functionName
string $functionName Function name
Returns
boolean
Implementation of
|
public
TokenReflection\IReflectionFunction
|
#
getFunction( string $functionName )
Returns a reflection object of a function (FQN expected).
Returns a reflection object of a function (FQN expected).
Parameters
- $functionName
string $functionName Function name
Returns
Throws
Implementation of
|
public
array
|
#
getFunctions( )
Returns all functions from all namespaces.
Returns all functions from all namespaces.
Returns
array
Implementation of
|
public
boolean
|
#
isFileProcessed( string $fileName )
Returns if the given file was already processed.
Returns if the given file was already processed.
Parameters
- $fileName
string $fileName File name
Returns
boolean
Implementation of
|
public
TokenReflection\Stream\StreamBase
|
#
getFileTokens( string $fileName )
Returns an array of tokens for a particular file.
Returns an array of tokens for a particular file.
Parameters
- $fileName
string $fileName File name
Returns
Throws
Implementation of
|
public
TokenReflection\Broker\Backend\Memory
|
|
public
TokenReflection\Broker\Backend\Memory
|
|
public
TokenReflection\Broker
|
#
getBroker( )
Returns the reflection broker instance.
Returns the reflection broker instance.
Returns
Implementation of
|
public
TokenReflection\Broker\Backend
|
#
setStoringTokenStreams( boolean $store )
Sets if token streams are stored in the backend.
Sets if token streams are stored in the backend.
Parameters
Returns
Implementation of
|
public
boolean
|
#
getStoringTokenStreams( )
Returns if token streams are stored in the backend.
Returns if token streams are stored in the backend.
Returns
boolean
Implementation of
|
protected
array
|
#
parseClassLists( )
Prepares and returns used class lists.
Prepares and returns used class lists.
Returns
array
|