Zend/Server/Method/Definition.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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
-
New BSD License
- Package
- Zend_Server
- Subpackage
- Method
- Version
- $Id: Definition.php 24594 2012-01-05 21:27:01Z matthew $
\Zend_Server_Method_Definition
Package: Zend\Server\MethodMethod definition metadata
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
-
New BSD License
Properties



array
$_prototypes= 'array()'
Array of Zend_Server_Method_Prototype objects
Default valuearray()
Details
- Type
- array
Methods



addPrototypes(
array $prototypes
)
:
\Zend_Server_Method_Definition
Add multiple prototypes at once
Parameters
Name |
Type |
Description |
$prototypes |
array |
Array of Zend_Server_Method_Prototype objects or arrays |
Returns



getObject(
)
:
null|object
Get object to use with method calls
Returns
Type |
Description |
null|object |
|



setObject(
object $object
)
:
\Zend_Server_Method_Definition
Set object to use with method calls
Parameters
Name |
Type |
Description |
$object |
object |
|
Returns



setPrototypes(
array $prototypes
)
:
\Zend_Server_Method_Definition
Set all prototypes at once (overwrites)
Parameters
Name |
Type |
Description |
$prototypes |
array |
Array of Zend_Server_Method_Prototype objects or arrays |
Returns