__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
string
getDatatype() : string
deprecated | Deprecated in 2.3. Use getTypes() or getTypesAsString() instead |
---|
string
getDescription() : string
inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::getDescription() |
---|
string
getIndentation() : string
inherited_from | \Zend\Code\Generator\AbstractGenerator::getIndentation() |
---|---|
inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::getIndentation() |
string
getName() : string
string
getParamName() : string
deprecated | Deprecated in 2.3. Use getVariableName() instead |
---|
string
getSourceContent() : string
inherited_from | \Zend\Code\Generator\AbstractGenerator::getSourceContent() |
---|---|
inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::getSourceContent() |
string
getTypes() : array
inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::getTypes() |
---|
array
getTypesAsString(string $delimiter) : string
inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::getTypesAsString() |
---|
string
string
getVariableName() : string
string
isSourceDirty() : bool
inherited_from | \Zend\Code\Generator\AbstractGenerator::isSourceDirty() |
---|---|
inherited_from | \Zend\Code\Generator\DocBlock\Tag\AbstractTypeableTag::isSourceDirty() |
bool
setDatatype(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 |