Function/Method Reflection
Decorates a ReflectionFunction. Allows setting and retrieving an alternate 'service' name (i.e., the name to be used when calling via a service), setting and retrieving the description (originally set using the docblock contents), retrieving the callback and callback type, retrieving additional method invocation arguments, and retrieving the method prototypes.
Located in /Zend/Server/Reflection/Function/Abstract.php (line 58)
Class | Description |
---|---|
![]() |
Function Reflection |
![]() |
Method Reflection |
Additional arguments to pass to method on invocation
Declaring class (needed for when serialization occurs)
Used to store extra configuration for the method (typically done by the server class, e.g., to indicate whether or not to instantiate a class).
Associative array; access is as properties via __get() and __set()
Function/method description
Namespace with which to prefix function/method name
Prototypes
Constructor
Retrieve the description
Retrieve additional invocation arguments
Return method's namespace
Retrieve all prototypes as array of Zend_Server_Reflection_Prototypes
Set the description
Set method's namespace
Create signature node tree
Recursive method to build the signature node tree. Increments through each array in $_sigParams, adding every value of the next level to the current value (unless the current value is null).
Build method signatures
Builds method signatures using the array of return types and the array of parameters types
Build the signature tree
Builds a signature tree starting at the return values and descending through each method argument. Returns an array of Zend_Server_Reflection_Nodes.
Use code reflection to create method signatures
Determines the method help/description text from the function DocBlock comment. Determines method signatures using a combination of ReflectionFunction and parsing of DocBlock @param and @return values.
Proxy reflection calls
Retrieve configuration parameters
Values are retrieved by key from $_config. Returns null if no value found.
Set configuration parameters
Values are stored by $key in $_config.
Wakeup from serialization
Reflection needs explicit instantiation to work correctly. Re-instantiate reflection object on wakeup.
Documentation generated on Wed, 21 Feb 2007 11:45:30 -0800 by phpDocumentor 1.3.1