CodeGenerator/Php/Method.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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_CodeGenerator
- Subpackage
- PHP
- Version
- $Id$
\Zend_CodeGenerator_Php_Method
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_Method $reflectionMethod) : \Zend_CodeGenerator_Php_Method
static
fromReflection()
Parameters
Returns
Name | Type | Description |
---|---|---|
$reflectionMethod | \Zend_Reflection_Method |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Method |
getParameters() : array
getParameters()
Returns
Type | Description |
---|---|
array | Array of Zend_CodeGenerator_Php_Parameter |
setBody(string $body) : \Zend_CodeGenerator_Php_Method
setBody()
Parameters
Returns
Name | Type | Description |
---|---|---|
$body | string |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Method |
setParameter(\Zend_CodeGenerator_Php_Parameter | array $parameter) : \Zend_CodeGenerator_Php_Method
setParameter()
Parameters
Returns
Name | Type | Description |
---|---|---|
$parameter | \Zend_CodeGenerator_Php_Parameter | array |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Method |
setParameters(array $parameters) : \Zend_CodeGenerator_Php_Method
setParameters()
Parameters
Returns
Name | Type | Description |
---|---|---|
$parameters | array |
Type | Description |
---|---|
\Zend_CodeGenerator_Php_Method |