Reflection for determining method signatures to use with server classes
category | Zend |
---|---|
package | Zend_Server |
subpackage | Reflection |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
version | $Id$ |
reflectClass(string|object $class, null|array $argv= false
, string $namespace= ''
) : \Zend_Server_Reflection_Class
Creates a Zend_Server_Reflection_Class object for the class or object provided.
If extra arguments should be passed to dispatchable methods, these may be provided as an array to $argv.
string
object
Class name or object
null
array
Optional arguments to be used during the method call
string
Optional namespace with which to prefix the method name (used for the signature key). Primarily to avoid collisions, also for XmlRpc namespacing
\Zend_Server_Reflection_Exception |
---|
\Zend_Server_Reflection_Class
reflectFunction(string $function, null|array $argv= false
, string $namespace= ''
) : \Zend_Server_Reflection_Function
Creates dispatch prototypes for a function. It returns a Zend_Server_Reflection_Function object.
If extra arguments should be passed to the dispatchable function, these may be provided as an array to $argv.
string
Function name
null
array
Optional arguments to be used during the method call
string
Optional namespace with which to prefix the function name (used for the signature key). Primarily to avoid collisions, also for XmlRpc namespacing
\Zend_Server_Reflection_Exception |
---|
\Zend_Server_Reflection_Function