Zend_Server_Reflection::reflectFunction
Perform function reflection to create dispatch signatures
Creates dispatch prototypes for a function. It returns a {@link Zend_Server_Reflection_Function} object. If extra arguments should be passed to the dispatchable function, these may be provided as an array to $argv.
Signature
public function reflectFunction(string
$function,
[boolean
$argv = false,
[string
$namespace = '']] )
Parameters
$function
— string- Function name
$argv
— boolean- Optional arguments to be used during the method call
$namespace
— string- Optional namespace with which to prefix the
function name (used for the signature key). Primarily to avoid
collisions, also for XmlRpc namespacing
Returns
- Zend_Server_Reflection_Function