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

 Methods

Return the contents of the class

getContents(boolean $includeDocblock = true) : string

Parameters

$includeDocblock

boolean

Returns

string

Return the reflection file of the declaring file.

getDeclaringFile($reflectionClass = 'Zend_Reflection_File') : \Zend_Reflection_File

Parameters

$reflectionClass

Returns

\Zend_Reflection_File

Return the classes Docblock reflection object

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

Parameters

$reflectionClass

string

Name of reflection class to use

Exceptions

\Zend_Reflection_Exception for missing docblock or invalid reflection class

Returns

\Zend_Reflection_Docblock

Get all reflection objects of implemented interfaces

getInterfaces(string $reflectionClass = 'Zend_Reflection_Class') : array

Parameters

$reflectionClass

string

Name of reflection class to use

Returns

arrayArray of Zend_Reflection_Class

Return method reflection by name

getMethod(string $name, string $reflectionClass = 'Zend_Reflection_Method') : \Zend_Reflection_Method

Parameters

$name

string

$reflectionClass

string

Reflection class to utilize

Returns

\Zend_Reflection_Method

Get reflection objects of all methods

getMethods(string $filter = -1, string $reflectionClass = 'Zend_Reflection_Method') : array

Parameters

$filter

string

$reflectionClass

string

Reflection class to use for methods

Returns

arrayArray of Zend_Reflection_Method objects

Get parent reflection class of reflected class

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

Parameters

$reflectionClass

string

Name of Reflection class to use

Returns

\Zend_Reflection_Class

Return reflection properties of this class

getProperties(integer $filter = -1, string $reflectionClass = 'Zend_Reflection_Property') : array

Parameters

$filter

integer

$reflectionClass

string

Name of reflection class to use

Returns

arrayArray of Zend_Reflection_Property

Return reflection property of this class by name

getProperty(string $name, string $reflectionClass = 'Zend_Reflection_Property') : \Zend_Reflection_Property

Parameters

$name

string

$reflectionClass

string

Name of reflection class to use

Returns

\Zend_Reflection_Property

Return the start line of the class

getStartLine(boolean $includeDocComment = false) : integer

Parameters

$includeDocComment

boolean

Returns

integer