Fully Qualified Name: | Laminas\Code\Reflection\DocBlockReflection |
Implements: | ReflectionInterface |
Name | Description | Defined By |
---|---|---|
__construct() | DocBlockReflection | |
__toString() | Serialize to string | DocBlockReflection |
export() | Export reflection | DocBlockReflection |
getContents() | Retrieve contents of DocBlock | DocBlockReflection |
getEndLine() | Get last line (position) of DocBlock | DocBlockReflection |
getLongDescription() | Get DocBlock long description | DocBlockReflection |
getShortDescription() | Get DocBlock short description | DocBlockReflection |
getStartLine() | Get start line (position) of DocBlock | DocBlockReflection |
getTag() | Retrieve the given DocBlock tag | DocBlockReflection |
getTags() | Get all DocBlock annotation tags | DocBlockReflection |
hasTag() | Does the DocBlock contain the given annotation tag? | DocBlockReflection |
toString() | DocBlockReflection |
Parameter Name | Type | Description |
---|---|---|
$commentOrReflector | \Reflector|string | |
$tagManager | null|\DocBlockTagManager |
Returns:
Serialize to string
Required by the Reflector interface
Returns: string
Export reflection
Required by the Reflector interface.
Returns: void
Retrieve contents of DocBlock
Returns: string
Get last line (position) of DocBlock
Returns: int
Get DocBlock long description
Returns: string
Get DocBlock short description
Returns: string
Get start line (position) of DocBlock
Returns: int
Retrieve the given DocBlock tag
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: \DocBlockTagInterface|bool
Get all DocBlock annotation tags
Parameter Name | Type | Description |
---|---|---|
$filter | string |
Returns: \DocBlockTagInterface[]
Does the DocBlock contain the given annotation tag?
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: bool
Returns: string