package Default

 Methods

__construct()

__construct(\Reflector|string $commentOrReflector, null|\Zend\Code\Reflection\DocBlock\TagManager $tagManager = null) : \Zend\Code\Reflection\DocBlockReflection

Parameters

$commentOrReflector

\Reflectorstring

$tagManager

null\Zend\Code\Reflection\DocBlock\TagManager

Exceptions

\Zend\Code\Reflection\Exception\InvalidArgumentException

Returns

\Zend\Code\Reflection\DocBlockReflection

Serialize to string

__toString() : string

Required by the Reflector interface

Returns

string

Export reflection

export() : void
Static

Required 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\Code\Reflection\DocBlock\Tag\TagInterface | false

Parameters

$name

string

Returns

\Zend\Code\Reflection\DocBlock\Tag\TagInterfacefalse

Get all DocBlock annotation tags

getTags(string $filter = null) : array<mixed,\Zend\Code\Reflection\DocBlock\Tag\TagInterface>

Parameters

$filter

string

Returns

array<mixed,\Zend\Code\Reflection\DocBlock\Tag\TagInterface>

Does the DocBlock contain the given annotation tag?

hasTag(string $name) : boolean

Parameters

$name

string

Returns

boolean

toString()

toString() : string
inherited_from \Zend\Code\Reflection\ReflectionInterface::toString()

Returns

string

Parse the DocBlock

reflect() : void

 Properties

 

$cleanDocComment

$cleanDocComment : string

Default

null
 

$docComment

$docComment : string

Default

null
 

$endLine

$endLine 

Default

null
 

$isReflected

$isReflected : boolean

Default

false
 

$longDescription

$longDescription : string

Default

null
 

$reflector

$reflector : \Reflector

Default

null
 

$shortDescription

$shortDescription : string

Default

null
 

$startLine

$startLine 

Default

null
 

$tagManager

$tagManager : \Zend\Code\Reflection\DocBlock\TagManager

Default

null
 

$tags

$tags : array

Default

array()