Server/Method/Parameter.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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Server
- Subpackage
- Method
- Version
- $Id: Parameter.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Server_Method_Parameter
Package: Zend\Server\Method
Method parameter metadata
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods


__construct(null | array $options = null) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$options | null | array |


setDefaultValue(mixed $defaultValue) : \Zend_Server_Method_Parameter
Set default value
Parameters
Returns
Name | Type | Description |
---|---|---|
$defaultValue | mixed |
Type | Description |
---|---|
\Zend_Server_Method_Parameter |


setDescription(string $description) : \Zend_Server_Method_Parameter
Set description
Parameters
Returns
Name | Type | Description |
---|---|---|
$description | string |
Type | Description |
---|---|
\Zend_Server_Method_Parameter |


setName(string $name) : \Zend_Server_Method_Parameter
Set name
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
\Zend_Server_Method_Parameter |


setOptional(bool $flag) : \Zend_Server_Method_Parameter
Set optional flag
Parameters
Returns
Name | Type | Description |
---|---|---|
$flag | bool |
Type | Description |
---|---|
\Zend_Server_Method_Parameter |


setOptions(array $options) : \Zend_Server_Method_Parameter
Set object state from array of options
Parameters
Returns
Name | Type | Description |
---|---|---|
$options | array |
Type | Description |
---|---|
\Zend_Server_Method_Parameter |


setType(string $type) : \Zend_Server_Method_Parameter
Set parameter type
Parameters
Returns
Name | Type | Description |
---|---|---|
$type | string |
Type | Description |
---|---|
\Zend_Server_Method_Parameter |