1523. Class

1523.1. Zend\Code\Reflection\DocBlockReflection

1523.1.1. Methods

1523.1.1.1. export

export()

Export reflection

Required by the Reflector interface.

Return type:void

1523.1.1.2. __construct

__construct()

@param Reflector|string $commentOrReflector

Parameters:null|DocBlockTagManager
Throws ExceptionInvalidArgumentException:
 
Return type:DocBlockReflection

1523.1.1.3. getContents

getContents()

Retrieve contents of DocBlock

Return type:string

1523.1.1.4. getStartLine

getStartLine()

Get start line (position) of DocBlock

Return type:int

1523.1.1.5. getEndLine

getEndLine()

Get last line (position) of DocBlock

Return type:int

1523.1.1.6. getShortDescription

getShortDescription()

Get DocBlock short description

Return type:string

1523.1.1.7. getLongDescription

getLongDescription()

Get DocBlock long description

Return type:string

1523.1.1.8. hasTag

hasTag()

Does the DocBlock contain the given annotation tag?

Parameters:string
Return type:bool

1523.1.1.9. getTag

getTag()

Retrieve the given DocBlock tag

Parameters:string
Return type:DocBlockTagInterface|false

1523.1.1.10. getTags

getTags()

Get all DocBlock annotation tags

Parameters:string
Return type:DocBlockTagInterface[]

1523.1.1.11. reflect

reflect()

Parse the DocBlock

Return type:void

1523.1.1.12. toString

toString()

1523.1.1.13. __toString

__toString()

Serialize to string

Required by the Reflector interface

Return type:string