__construct()
fromReflection()
generate()
getDatatype()
getDescription()
getIndentation()
getName()
getParamName()
getSourceContent()
getTypes()
getTypesAsString()
getVariableName()
isSourceDirty()
setDatatype()
setDescription()
setIndentation()
setOptions()
setParamName()
setSourceContent()
setSourceDirty()
setTypes()
setVariableName()
$description
$indentation
$isSourceDirty
$sourceContent
$types
$variableName
LINE_FEED
This abstract class can be used as parent for all tags that use a type part in their content.
__construct(string $variableName, array $types, string $description)
string
array
string
fromReflection(\Zend\Code\Reflection\DocBlock\Tag\TagInterface $reflectionTag) : \Zend\Code\Generator\DocBlock\Tag\ReturnTag
| deprecated | Deprecated in 2.3. Use TagManager::createTagFromReflection() instead |
|---|
\Zend\Code\Reflection\DocBlock\Tag\TagInterface
generate() : string
stringgetDatatype() : string
| deprecated | Deprecated in 2.3. Use getTypes() or getTypesAsString() instead |
|---|
stringgetDescription() : string
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::getDescription() |
|---|
stringgetIndentation() : string
| inherited_from | \Zend\Code\Generator\AbstractGenerator::getIndentation() |
|---|---|
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::getIndentation() |
stringgetName() : string
stringgetParamName() : string
| deprecated | Deprecated in 2.3. Use getVariableName() instead |
|---|
stringgetSourceContent() : string
| inherited_from | \Zend\Code\Generator\AbstractGenerator::getSourceContent() |
|---|---|
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::getSourceContent() |
stringgetTypes() : array
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::getTypes() |
|---|
arraygetTypesAsString(string $delimiter) : string
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::getTypesAsString() |
|---|
string
stringgetVariableName() : string
stringisSourceDirty() : bool
| inherited_from | \Zend\Code\Generator\AbstractGenerator::isSourceDirty() |
|---|---|
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::isSourceDirty() |
boolsetDatatype(string $datatype) : \Zend\Code\Generator\DocBlock\Tag\ReturnTag
| deprecated | Deprecated in 2.3. Use setTypes() instead |
|---|
string
setDescription(string $description) : \Zend\Code\Generator\DocBlock\Tag\ReturnTag
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::setDescription() |
|---|
string
setIndentation(string $indentation) : \Zend\Code\Generator\AbstractGenerator
| inherited_from | \Zend\Code\Generator\AbstractGenerator::setIndentation() |
|---|---|
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::setIndentation() |
string
setOptions(array | \Traversable $options) : \Zend\Code\Generator\AbstractGenerator
| inherited_from | \Zend\Code\Generator\AbstractGenerator::setOptions() |
|---|---|
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::setOptions() |
array\Traversable
\Zend\Code\Generator\Exception\InvalidArgumentException |
|---|
setParamName(string $paramName) : \Zend\Code\Generator\DocBlock\Tag\ParamTag
| deprecated | Deprecated in 2.3. Use setVariableName() instead |
|---|
string
setSourceContent(string $sourceContent) : \Zend\Code\Generator\AbstractGenerator
| inherited_from | \Zend\Code\Generator\AbstractGenerator::setSourceContent() |
|---|---|
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::setSourceContent() |
string
setSourceDirty(bool $isSourceDirty) : \Zend\Code\Generator\AbstractGenerator
| inherited_from | \Zend\Code\Generator\AbstractGenerator::setSourceDirty() |
|---|---|
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::setSourceDirty() |
bool
setTypes(array | string $types) : \Zend\Code\Generator\DocBlock\Tag\ReturnTag
array('int', 'null') or "int|null"
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::setTypes() |
|---|
arraystring
setVariableName(string $variableName) : \Zend\Code\Generator\DocBlock\Tag\ParamTag
$description : string
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::$$description |
|---|
$indentation : int | string
| inherited_from | \Zend\Code\Generator\AbstractGenerator::$$indentation |
|---|---|
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::$$indentation |
$isSourceDirty : bool
| inherited_from | \Zend\Code\Generator\AbstractGenerator::$$isSourceDirty |
|---|---|
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::$$isSourceDirty |
$sourceContent : string
| inherited_from | \Zend\Code\Generator\AbstractGenerator::$$sourceContent |
|---|---|
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::$$sourceContent |
$types : array
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::$$types |
|---|
$variableName : string
LINE_FEED
| inherited_from | \Zend\Code\Generator\AbstractGenerator::LINE_FEED |
|---|---|
| inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::LINE_FEED |