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

 Methods

Constructor

__construct(\Reflector|string $commentOrReflector) 

Parameters

$commentOrReflector

\Reflectorstring

Serialize to string

__toString() : string

Required by the Reflector interface

todo What should this return?

Returns

string

Export reflection

export() : void
Static

Reqired by the Reflector interface.

todo What should this do?

Retrieve contents of docblock

getContents() : string

Returns

string

Get last line (position) of docblock

getEndLine() : integer

Returns

integer

Get docblock long description

getLongDescription() : string

Returns

string

Get docblock short description

getShortDescription() : string

Returns

string

Get start line (position) of docblock

getStartLine() : integer

Returns

integer

Retrieve the given docblock tag

getTag(string $name) : \Zend_Reflection_Docblock_Tag | false

Parameters

$name

string

Returns

\Zend_Reflection_Docblock_Tagfalse

Get all docblock annotation tags

getTags(string $filter = null) : array

Parameters

$filter

string

Returns

arrayArray of Zend_Reflection_Docblock_Tag

Does the docblock contain the given annotation tag?

hasTag(string $name) : boolean

Parameters

$name

string

Returns

boolean

Parse the docblock

_parse() : void

 Properties

 

$_cleanDocComment

$_cleanDocComment : string

Default

null
 

$_docComment

$_docComment : string

Default

null
 

$_endLine

$_endLine 

Default

null
 

$_longDescription

$_longDescription : string

Default

null
 

$_reflector

$_reflector : \Reflector

Default

null
 

$_shortDescription

$_shortDescription : string

Default

null
 

$_startLine

$_startLine 

Default

null
 

$_tags

$_tags : array

Default

array()