CodeGenerator/Php/Property.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_Property
Package: Zend_CodeGenerator
- Parent(s)
- \Zend_CodeGenerator_Php_Member_Abstract < \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_Property $reflectionProperty) : \Zend_CodeGenerator_Php_Property
static
fromReflection()
Parameters
Returns
Name | Type | Description |
---|---|---|
$reflectionProperty | \Zend_Reflection_Property |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Property |
getDefaultValue() : \Zend_CodeGenerator_Php_Property_DefaultValue
getDefaultValue()
Returns
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Property_DefaultValue |
setConst(bool $const) : \Zend_CodeGenerator_Php_Property
setConst()
Parameters
Returns
Name | Type | Description |
---|---|---|
$const | bool |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Property |
setDefaultValue(\Zend_CodeGenerator_Php_Property_DefaultValue | string | array $defaultValue) : \Zend_CodeGenerator_Php_Property
setDefaultValue()
Parameters
Returns
Name | Type | Description |
---|---|---|
$defaultValue | \Zend_CodeGenerator_Php_Property_DefaultValue | string | array |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Property |