Zeta Components Manual :: Docs For Class ezcReflection
Reflection::ezcReflection
Class ezcReflection
Holds type factory for generating type objects by given name
Source for this file: /Reflection/src/reflection.php
Version: | //autogen// |
Member Variables
protected static ezcReflectionDocCommentParser |
$docParser
|
protected static ezcReflectionTypeFactory |
$reflectionTypeFactory
|
Method Summary
public static ezcReflectionClass[] |
getClasses(
)
Returns an array with the ezcReflectionClass objects for all declared classes |
public static ezcReflectionDocCommentParser |
getDocCommentParser(
)
Returns a copy of the current documentation parser used by all ezcReflection classes |
public static ezcReflectionFunction[] |
getFunctions(
)
Returns an array with the ezcReflectionFunction objects for all internal and user-defined functions |
public static ezcReflectionClass[] |
getInterfaces(
)
Returns an array with the ezcReflectionClass objects for all declared interfaces |
public static ezcReflectionFunction[] |
getInternalFunctions(
)
Returns an array with the ezcReflectionFunction objects for all available internal functions |
public static ezcReflectionTypeFactory |
getReflectionTypeFactory(
)
Returns a copy of the current factory used to create type objects |
public static ezcReflectionType |
getTypeByName(
$typeName
)
Returns a ezcReflectionType object for the given type name |
public static ezcReflectionFunction[] |
getUserDefinedFunctions(
)
Returns an array with the ezcReflectionFunction objects for all user-defined functions |
public static void |
setDocCommentParser(
$docParser
)
Sets the documentation parser used by all ezcReflection classes |
public static void |
setReflectionTypeFactory(
$factory
)
Sets the factory used to create type objects |
Methods
getClasses
Returns an array with the ezcReflectionClass objects for all declared classes
getDocCommentParser
Returns a copy of the current documentation parser used by all ezcReflection classes
getFunctions
Returns an array with the ezcReflectionFunction objects for all internal and user-defined functions
getInterfaces
Returns an array with the ezcReflectionClass objects for all declared interfaces
getInternalFunctions
Returns an array with the ezcReflectionFunction objects for all available internal functions
getReflectionTypeFactory
Returns a copy of the current factory used to create type objects
getTypeByName
Returns a ezcReflectionType object for the given type name
Parameters:
Name | Type | Description |
---|---|---|
$typeName |
string |
getUserDefinedFunctions
Returns an array with the ezcReflectionFunction objects for all user-defined functions
setDocCommentParser
Sets the documentation parser used by all ezcReflection classes
Parameters:
Name | Type | Description |
---|---|---|
$docParser |
ezcReflectionDocCommentParser | Parser for documentation blocks |
setReflectionTypeFactory
Sets the factory used to create type objects
Parameters:
Name | Type | Description |
---|---|---|
$factory |
ezcReflectionTypeFactory | Factory for type objects |