mediatekformation

DocBlockGenerator extends AbstractGenerator
in package

Table of Contents

LINE_FEED  = "\n"
Line feed to use in place of EOL
$indentation  : string
$isSourceDirty  : bool
$longDescription  : string
$shortDescription  : string
$sourceContent  : string
$tagManager  : TagManager
$tags  : array<string|int, mixed>
$wordwrap  : bool
__construct()  : mixed
fromArray()  : DocBlockGenerator
Generate from array
fromReflection()  : DocBlockGenerator
Build a DocBlock generator object from a reflection object
generate()  : string
getIndentation()  : string
getLongDescription()  : string
getShortDescription()  : string
getSourceContent()  : string
getTags()  : array<string|int, TagInterface>
getWordWrap()  : bool
isSourceDirty()  : bool
setIndentation()  : AbstractGenerator
setLongDescription()  : DocBlockGenerator
setOptions()  : AbstractGenerator
setShortDescription()  : DocBlockGenerator
setSourceContent()  : AbstractGenerator
setSourceDirty()  : AbstractGenerator
setTag()  : DocBlockGenerator
setTags()  : DocBlockGenerator
setWordWrap()  : DocBlockGenerator
docCommentize()  : string
getTagManager()  : TagManager

Constants

Properties

Methods

__construct()

public __construct([string $shortDescription = null ][, string $longDescription = null ][, array<string|int, mixed> $tags = [] ]) : mixed
Parameters
$shortDescription : string = null
$longDescription : string = null
$tags : array<string|int, mixed> = []
Return values
mixed

fromArray()

Generate from array

public static fromArray(array<string|int, mixed> $array) : DocBlockGenerator
Parameters
$array : array<string|int, mixed>
Tags
configkey

shortdescription string The short description for this doc block

configkey

longdescription string The long description for this doc block

configkey

tags array

throws
InvalidArgumentException
Return values
DocBlockGenerator

getLongDescription()

public getLongDescription() : string
Return values
string

getShortDescription()

public getShortDescription() : string
Return values
string

getSourceContent()

public getSourceContent() : string
Return values
string

docCommentize()

protected docCommentize(string $content) : string
Parameters
$content : string
Return values
string

Search results