Class PropertyTag

Summary

Fully Qualified Name: Zend\Code\Generator\DocBlock\Tag\PropertyTag
Extends: AbstractTypeableTag
Implements: TagInterface

Description

Methods

Name Description Defined By
__construct() PropertyTag
generate() PropertyTag
getDescription() AbstractTypeableTag
getIndentation() AbstractGenerator
getName() PropertyTag
getPropertyName() PropertyTag
getSourceContent() AbstractGenerator
getTypes() AbstractTypeableTag
getTypesAsString() AbstractTypeableTag
isSourceDirty() AbstractGenerator
setDescription() AbstractTypeableTag
setIndentation() AbstractGenerator
setOptions() AbstractGenerator
setPropertyName() PropertyTag
setSourceContent() AbstractGenerator
setSourceDirty() AbstractGenerator
setTypes() Array of types or string with types delimited by pipe (|) e.g. array('int', 'null') or "int|null" AbstractTypeableTag

Method Details

__construct()

Parameter Name Type Description
$propertyName string
$types array
$description string

Returns:

generate()

Returns: string

getDescription()

Returns: string

getIndentation()

Returns: string

getName()

Returns: string

getPropertyName()

Returns: string

getSourceContent()

Returns: string

getTypes()

Returns: array

getTypesAsString()

Parameter Name Type Description
$delimiter string

Returns: string

isSourceDirty()

Returns: bool

setDescription()

Parameter Name Type Description
$description string

Returns: \ReturnTag

setIndentation()

Parameter Name Type Description
$indentation string

Returns: \AbstractGenerator

setOptions()

Parameter Name Type Description
$options array|\Traversable

Returns: \AbstractGenerator

setPropertyName()

Parameter Name Type Description
$propertyName string

Returns: self

setSourceContent()

Parameter Name Type Description
$sourceContent string

Returns: \AbstractGenerator

setSourceDirty()

Parameter Name Type Description
$isSourceDirty bool

Returns: \AbstractGenerator

setTypes()

Array of types or string with types delimited by pipe (|) e.g. array('int', 'null') or "int|null"

Parameter Name Type Description
$types array|string

Returns: \ReturnTag

Top