\Zend_Server_Reflection

Reflection for determining method signatures to use with server classes

Summary

Methods
Properties
Constants
reflectClass()
reflectFunction()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

reflectClass()

reflectClass(string|object  $class, null|array  $argv = false, string  $namespace = '') : \Zend_Server_Reflection_Class

Perform class reflection to create dispatch signatures

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.

Parameters

string|object $class

Class name or object

null|array $argv

Optional arguments to be used during the method call

string $namespace

Optional namespace with which to prefix the method name (used for the signature key). Primarily to avoid collisions, also for XmlRpc namespacing

Throws

\Zend_Server_Reflection_Exception

Returns

\Zend_Server_Reflection_Class

reflectFunction()

reflectFunction(string  $function, null|array  $argv = false, string  $namespace = '') : \Zend_Server_Reflection_Function

Perform function reflection to create dispatch signatures

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.

Parameters

string $function

Function name

null|array $argv

Optional arguments to be used during the method call

string $namespace

Optional namespace with which to prefix the function name (used for the signature key). Primarily to avoid collisions, also for XmlRpc namespacing

Throws

\Zend_Server_Reflection_Exception

Returns

\Zend_Server_Reflection_Function