Reflection for determining method signatures to use with server classes
reflectClass(string | object $class, bool | array $argv, string $namespace) : \Zend\Server\Reflection\ReflectionClass
Creates a \Zend\Server\Reflection\ClassReflection 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.
stringobject
Class name or object
boolarray
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\InvalidArgumentException |
---|
reflectFunction(string $function, bool | array $argv, string $namespace) : \Zend\Server\Reflection\ReflectionFunction
Creates dispatch prototypes for a function. It returns a Zend\Server\Reflection\FunctionReflection object.
If extra arguments should be passed to the dispatchable function, these may be provided as an array to $argv.
string
Function name
boolarray
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\InvalidArgumentException |
---|