[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-code/src/Generator/ -> MethodGenerator.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 313 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MethodGenerator:: (11 methods):
  fromReflection()
  clearBodyIndention()
  fromArray()
  __construct()
  setParameters()
  setParameter()
  getParameters()
  setBody()
  getBody()
  generate()
  __toString()


Class: MethodGenerator  - X-Ref

fromReflection(MethodReflection $reflectionMethod)   X-Ref

param: MethodReflection $reflectionMethod
return: MethodGenerator

clearBodyIndention($body)   X-Ref
Identify the space indention from the first line and remove this indention
from all lines

param: string $body
return: string

fromArray(array $array)   X-Ref
Generate from array

param: array $array
return: MethodGenerator

__construct($name = null,array $parameters = array()   X-Ref

param: string $name
param: array $parameters
param: int $flags
param: string $body
param: DocBlockGenerator|string $docBlock

setParameters(array $parameters)   X-Ref

param: array $parameters
return: MethodGenerator

setParameter($parameter)   X-Ref

param: ParameterGenerator|array|string $parameter
return: MethodGenerator

getParameters()   X-Ref

return: ParameterGenerator[]

setBody($body)   X-Ref

param: string $body
return: MethodGenerator

getBody()   X-Ref

return: string

generate()   X-Ref

return: string

__toString()   X-Ref
No description



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1