Zend\Code\Reflection\DocBlockReflection
Synopsis
class DocBlockReflection
implements
ReflectionInterface
{
- // members
- protected Reflector $reflector;
- protected string $docComment;
- protected TagManager $tagManager;
- protected $startLine;
- protected $endLine;
- protected string $cleanDocComment;
- protected string $longDescription;
- protected string $shortDescription;
- protected array $tags;
- protected bool $isReflected;
- // methods
- public static void export()
- public DocBlockReflection __construct()
- public string getContents()
- public int getStartLine()
- public int getEndLine()
- public string getShortDescription()
- public string getLongDescription()
- public bool hasTag()
- public DocBlockTagInterface|false getTag()
- public array getTags()
- protected void reflect()
- public void toString()
- public string __toString()
Hierarchy
Implements
Tasks
Line | Task |
---|---|
74+ | What should this do? |
257 | should be changed to remove first and last empty line |
Members
protected
- $cleanDocComment — string
- $docComment — string
- $endLine
- $isReflected — Zend\Code\Reflection\bool
- $longDescription — string
- $reflector — Reflector
- $shortDescription — string
- $startLine
- $tagManager — Zend\Code\Reflection\DocBlock\TagManager
Methods
protected
- reflect() — Parse the DocBlock
public
- __construct()
- __toString() — Serialize to string
- export() — Export reflection
- getContents() — Retrieve contents of DocBlock
- getEndLine() — Get last line (position) of DocBlock
- getLongDescription() — Get DocBlock long description
- getShortDescription() — Get DocBlock short description
- getStartLine() — Get start line (position) of DocBlock
- getTag() — Retrieve the given DocBlock tag
- getTags() — Get all DocBlock annotation tags
- hasTag() — Does the DocBlock contain the given annotation tag?
- toString()