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

 Methods

Get contents of function

getContents(boolean $includeDocblock = true) : string

Parameters

$includeDocblock

boolean

Returns

string

Get function docblock

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

Parameters

$reflectionClass

string

Name of reflection class to use

Returns

\Zend_Reflection_Docblock

Get function parameters

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

Parameters

$reflectionClass

string

Name of reflection class to use

Returns

arrayArray of Zend_Reflection_Parameter

Get return type tag

getReturn() : \Zend_Reflection_Docblock_Tag_Return

Returns

\Zend_Reflection_Docblock_Tag_Return

Get start line (position) of function

getStartLine(boolean $includeDocComment = false) : integer

Parameters

$includeDocComment

boolean

Returns

integer