Class MethodTag

Summary

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

Description

Methods

Name Description Defined By
__construct() MethodTag
generate() MethodTag
getDescription() AbstractTypeableTag
getIndentation() AbstractGenerator
getMethodName() MethodTag
getName() MethodTag
getSourceContent() AbstractGenerator
getTypes() AbstractTypeableTag
getTypesAsString() AbstractTypeableTag
isSourceDirty() AbstractGenerator
isStatic() MethodTag
setDescription() AbstractTypeableTag
setIndentation() AbstractGenerator
setIsStatic() MethodTag
setMethodName() MethodTag
setOptions() AbstractGenerator
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
$methodName string
$types array
$description string
$isStatic bool

Returns:

generate()

Returns: string

getDescription()

Returns: string

getIndentation()

Returns: string

getMethodName()

Returns: string

getName()

Returns: string

getSourceContent()

Returns: string

getTypes()

Returns: array

getTypesAsString()

Parameter Name Type Description
$delimiter string

Returns: string

isSourceDirty()

Returns: bool

isStatic()

Returns: bool

setDescription()

Parameter Name Type Description
$description string

Returns: \ReturnTag

setIndentation()

Parameter Name Type Description
$indentation string

Returns: \AbstractGenerator

setIsStatic()

Parameter Name Type Description
$isStatic bool

Returns: \MethodTag

setMethodName()

Parameter Name Type Description
$methodName string

Returns: \MethodTag

setOptions()

Parameter Name Type Description
$options array|\Traversable

Returns: \AbstractGenerator

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