CodeGenerator/Php/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 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_CodeGenerator
- Subpackage
- PHP
- Version
- $Id$
\Zend_CodeGenerator_Php_Parameter
Package: Zend_CodeGenerator

Returns




- Parent(s)
- \Zend_CodeGenerator_Php_Abstract < \Zend_CodeGenerator_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods

fromReflection(\Zend_Reflection_Parameter $reflectionParameter) : \Zend_CodeGenerator_Php_Parameterstatic
fromReflection()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $reflectionParameter | \Zend_Reflection_Parameter |
| Type | Description |
|---|---|
| \Zend_CodeGenerator_Php_Parameter |

setDefaultValue(null | bool | string | int | float | \Zend_CodeGenerator_Php_Parameter_DefaultValue $defaultValue) : \Zend_CodeGenerator_Php_ParameterSet the default value of the parameter.
Certain variables are difficult to expres
Parameters| Name | Type | Description |
|---|---|---|
| $defaultValue | null | bool | string | int | float | \Zend_CodeGenerator_Php_Parameter_DefaultValue |
| Type | Description |
|---|---|
| \Zend_CodeGenerator_Php_Parameter |

setName(string $name) : \Zend_CodeGenerator_Php_ParametersetName()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| \Zend_CodeGenerator_Php_Parameter |

setPassedByReference(bool $passedByReference) : \Zend_CodeGenerator_Php_ParameterParameters
Returns
| Name | Type | Description |
|---|---|---|
| $passedByReference | bool |
| Type | Description |
|---|---|
| \Zend_CodeGenerator_Php_Parameter |

setPosition(int $position) : \Zend_CodeGenerator_Php_ParametersetPosition()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $position | int |
| Type | Description |
|---|---|
| \Zend_CodeGenerator_Php_Parameter |

setType(string $type) : \Zend_CodeGenerator_Php_ParametersetType()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $type | string |
| Type | Description |
|---|---|
| \Zend_CodeGenerator_Php_Parameter |