Server/Abstract.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 license@zend.com 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_Abstract
Package: Zend_Server
Zend_Server_Abstract
- Implements
- Children
- \Zend_XmlRpc_Server
- \Zend_Json_Server
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Version
- $Id$
Properties
bool $_overwriteExistingMethods = false
Flag; whether or not overwriting existing methods is allowed
Default value
false
Details- Type
- bool
array $magic_methods = array('__call', '__clone', '__construct', '__destruct', '__get', '__isset', '__set', '__set_state', '__sleep', '__tostring', '__unset', '__wakeup')
static
List of PHP magic methods (lowercased)
Default value
array('__call', '__clone', '__construct', '__destruct', '__get', '__isset', '__set', '__set_state', '__sleep', '__tostring', '__unset', '__wakeup')
Details- Type
- array
- Deprecated
Methods
_buildCallback(\Zend_Server_Reflection_Function_Abstract $reflection) : \Zend_Server_Method_Callback
Build callback for method signature
Parameters
Returns
Name | Type | Description |
---|---|---|
$reflection | \Zend_Server_Reflection_Function_Abstract |
Type | Description |
---|---|
\Zend_Server_Method_Callback |
_buildSignature(\Zend_Server_Reflection_Function_Abstract $reflection, null | string | object $class = null) : \Zend_Server_Method_Definition
Build a method signature
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$reflection | \Zend_Server_Reflection_Function_Abstract | |
$class | null | string | object |
Type | Description |
---|---|
\Zend_Server_Method_Definition |
Exception | Description |
---|---|
\Zend_Server_Exception | on duplicate entry |
_dispatch(\Zend_Server_Method_Definition $invocable, array $params) : mixed
Dispatch method
Parameters
Returns
Name | Type | Description |
---|---|---|
$invocable | \Zend_Server_Method_Definition | |
$params | array |
Type | Description |
---|---|
mixed |
_fixType(string $type) : string
abstract
Map PHP type to protocol type
Parameters
Returns
Name | Type | Description |
---|---|---|
$type | string |
Type | Description |
---|---|
string |
getFunctions() : \Zend_Server_Definition
Returns a list of registered methods
Returns an array of method definitions.
ReturnsType | Description |
---|---|
\Zend_Server_Definition |