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.
Method prototype metadata
array $_parameterNameMap = 'array'
array $_parameters = 'array'
string $_returnType = 'void'
__construct(
null|array $options
=
null
)
:
void
Constructor
addParameter(
string $parameter
)
:
Zend_Server_Method_Prototype
Add a parameter
addParameters(
$parameters
)
:
Zend_Server_Method_Prototype
Add parameters
getParameter(
string|int $index
)
:
null|Zend_Server_Method_Parameter
Retrieve a single parameter by name or index
getParameterObjects(
)
:
array
Get parameter objects
getParameters(
)
:
array
Retrieve parameters as list of types
getReturnType(
)
:
string
Retrieve return type
setOptions(
array $options
)
:
Zend_Server_Method_Prototype
Set object state from array
setParameters(
array $parameters
)
:
Zend_Server_Method_Prototype
Set parameters
setReturnType(
string $returnType
)
:
Zend_Server_Method_Prototype
Set return value
toArray(
)
:
array
Serialize to array