GenericTag
in package
implements
TagInterface, PrototypeGenericInterface
Interfaces, Classes, Traits and Enums
Table of Contents
- $content : string
- $contentSplitCharacter : null|string
- $name : string
- $values : array<string|int, mixed>
- __construct() : mixed
- __toString() : string
- Serialize to string
- getContent() : string
- getName() : string
- Get annotation tag name
- initialize() : void
- returnValue() : string
- setName() : mixed
- parse() : mixed
Properties
$content
protected
string
$content
$contentSplitCharacter
protected
null|string
$contentSplitCharacter
$name
protected
string
$name
$values
protected
array<string|int, mixed>
$values
= []
Methods
__construct()
public
__construct([string $contentSplitCharacter = ' ' ]) : mixed
Parameters
- $contentSplitCharacter : string = ' '
Return values
mixed —__toString()
Serialize to string
public
__toString() : string
Required by Reflector
Tags
Return values
string —getContent()
public
getContent() : string
Return values
string —getName()
Get annotation tag name
public
getName() : string
Return values
string —initialize()
public
initialize(string $tagDocBlockLine) : void
Parameters
- $tagDocBlockLine : string
Return values
void —returnValue()
public
returnValue(int $position) : string
Parameters
- $position : int
Return values
string —setName()
public
setName(string $name) : mixed
Parameters
- $name : string
Return values
mixed —parse()
protected
parse(string $docBlockLine) : mixed
Parameters
- $docBlockLine : string