Server/Reflection.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Server
\Zend_Server_Reflection
Package: Zend_Server\Reflection
Returns
Throws
Returns
Throws
Reflection for determining method signatures to use with server classes
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Version
- $Id$
Methods
reflectClass(string | object $class, null | array $argv = false, string $namespace = '') : \Zend_Server_Reflection_Class
static
Perform class reflection to create dispatch signatures
Creates a {@link 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.
ParametersName | Type | Description |
---|---|---|
$class | string | object | Class name or object |
$argv | null | array | Optional arguments to be used during the method call |
$namespace | string | Optional namespace with which to prefix the method name (used for the signature key). Primarily to avoid collisions, also for XmlRpc namespacing |
Type | Description |
---|---|
\Zend_Server_Reflection_Class |
Exception | Description |
---|---|
\Zend_Server_Reflection_Exception |
reflectFunction(string $function, null | array $argv = false, string $namespace = '') : \Zend_Server_Reflection_Function
static
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.
ParametersName | Type | Description |
---|---|---|
$function | string | Function name |
$argv | null | array | 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 |
Type | Description |
---|---|
\Zend_Server_Reflection_Function |
Exception | Description |
---|---|
\Zend_Server_Reflection_Exception |