category Zend
package Zend_Reflection
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Get method body

getBody() : string

Returns

string

Get method contents

getContents(boolean $includeDocblock = true) : string

Parameters

$includeDocblock

boolean

Returns

string

Get reflection of declaring class

getDeclaringClass(string $reflectionClass = 'Zend_Reflection_Class') : \Zend_Reflection_Class

Parameters

$reflectionClass

string

Name of reflection class to use

Returns

\Zend_Reflection_Class

Retrieve method docblock reflection

getDocblock($reflectionClass = 'Zend_Reflection_Docblock') : \Zend_Reflection_Docblock

Parameters

$reflectionClass

Exceptions

\Zend_Reflection_Exception

Returns

\Zend_Reflection_Docblock

Get all method parameter reflection objects

getParameters(string $reflectionClass = 'Zend_Reflection_Parameter') : array

Parameters

$reflectionClass

string

Name of reflection class to use

Returns

arrayof Zend_Reflection_Parameter objects

Get start line (position) of method

getStartLine(boolean $includeDocComment = false) : integer

Parameters

$includeDocComment

boolean

Returns

integer