CodeGenerator/Php/Property.php

Show: PublicProtectedPrivateinherited
Table of Contents
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-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

>VPropertyprotectedstring $_defaultValue = null
Default valuenullDetails
Type
string
>VPropertyprotectedbool $_isConst = null
Default valuenullDetails
Type
bool

Methods

methodpublicfromReflection(\Zend_Reflection_Property $reflectionProperty) : \Zend_CodeGenerator_Php_Property
static

fromReflection()

Parameters
NameTypeDescription
$reflectionProperty\Zend_Reflection_Property
Returns
TypeDescription
\Zend_CodeGenerator_Php_Property
methodpublicgenerate() : string

generate()

Returns
TypeDescription
string
methodpublicisConst() : bool

isConst()

Returns
TypeDescription
bool
methodpublicsetConst(bool $const) : \Zend_CodeGenerator_Php_Property

setConst()

Parameters
NameTypeDescription
$constbool
Returns
TypeDescription
\Zend_CodeGenerator_Php_Property
methodpublicsetDefaultValue(\Zend_CodeGenerator_Php_Property_DefaultValue | string | array $defaultValue) : \Zend_CodeGenerator_Php_Property

setDefaultValue()

Parameters
NameTypeDescription
$defaultValue\Zend_CodeGenerator_Php_Property_DefaultValue | string | array
Returns
TypeDescription
\Zend_CodeGenerator_Php_Property
Documentation was generated by phpDocumentor 2.2.0 .