Holds type factory for generating type objects by given name
Source for this file: /Reflection/src/reflection.php
Version: | //autogen// |
protected static ezcReflectionDocCommentParser |
$docParser
|
protected static ezcReflectionTypeFactory |
$reflectionTypeFactory
|
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 |
Returns an array with the ezcReflectionClass objects for all declared classes
Returns a copy of the current documentation parser used by all ezcReflection classes
Returns an array with the ezcReflectionFunction objects for all internal and user-defined functions
Returns an array with the ezcReflectionClass objects for all declared interfaces
Returns an array with the ezcReflectionFunction objects for all available internal functions
Returns a copy of the current factory used to create type objects
Returns a ezcReflectionType object for the given type name
Name | Type | Description |
---|---|---|
$typeName |
string |
Returns an array with the ezcReflectionFunction objects for all user-defined functions
Sets the documentation parser used by all ezcReflection classes
Name | Type | Description |
---|---|---|
$docParser |
ezcReflectionDocCommentParser | Parser for documentation blocks |
Sets the factory used to create type objects
Name | Type | Description |
---|---|---|
$factory |
ezcReflectionTypeFactory | Factory for type objects |