Methods

__construct()

__construct(string $authorName, string $authorEmail) 

Parameters

$authorName

string

$authorEmail

string

fromReflection()

fromReflection(\Zend\Code\Reflection\DocBlock\Tag\TagInterface $reflectionTag) : \Zend\Code\Generator\DocBlock\Tag\ReturnTag

deprecated Deprecated in 2.3. Use TagManager::createTagFromReflection() instead

Parameters

Returns

generate()

generate() : string

Returns

string

getAuthorEmail()

getAuthorEmail() : string

Returns

string

getAuthorName()

getAuthorName() : string

Returns

string

getIndentation()

getIndentation() : string
Inherited

inherited_from \Zend\Code\Generator\AbstractGenerator::getIndentation()

Returns

string

getName()

getName() : string

Returns

string

getSourceContent()

getSourceContent() : string
Inherited

inherited_from \Zend\Code\Generator\AbstractGenerator::getSourceContent()

Returns

string

isSourceDirty()

isSourceDirty() : bool
Inherited

inherited_from \Zend\Code\Generator\AbstractGenerator::isSourceDirty()

Returns

bool

setAuthorEmail()

setAuthorEmail(string $authorEmail) : \Zend\Code\Generator\DocBlock\Tag\AuthorTag

Parameters

$authorEmail

string

Returns

setAuthorName()

setAuthorName(string $authorName) : \Zend\Code\Generator\DocBlock\Tag\AuthorTag

Parameters

$authorName

string

Returns

setIndentation()

setIndentation(string $indentation) : \Zend\Code\Generator\AbstractGenerator
Inherited

inherited_from \Zend\Code\Generator\AbstractGenerator::setIndentation()

Parameters

$indentation

string

Returns

setOptions()

setOptions(array | \Traversable $options) : \Zend\Code\Generator\AbstractGenerator
Inherited

inherited_from \Zend\Code\Generator\AbstractGenerator::setOptions()

Parameters

$options

array\Traversable

Exceptions

\Zend\Code\Generator\Exception\InvalidArgumentException

Returns

setSourceContent()

setSourceContent(string $sourceContent) : \Zend\Code\Generator\AbstractGenerator
Inherited

inherited_from \Zend\Code\Generator\AbstractGenerator::setSourceContent()

Parameters

$sourceContent

string

Returns

setSourceDirty()

setSourceDirty(bool $isSourceDirty) : \Zend\Code\Generator\AbstractGenerator
Inherited

inherited_from \Zend\Code\Generator\AbstractGenerator::setSourceDirty()

Parameters

$isSourceDirty

bool

Returns

 Properties

 

$authorEmail

$authorEmail : string

 

$authorName

$authorName : string

 

<p>4 spaces by default</p>

$indentation : int | string
Inherited

inherited_from \Zend\Code\Generator\AbstractGenerator::$$indentation
 

$isSourceDirty

$isSourceDirty : bool
Inherited

inherited_from \Zend\Code\Generator\AbstractGenerator::$$isSourceDirty
 

$sourceContent

$sourceContent : string
Inherited

inherited_from \Zend\Code\Generator\AbstractGenerator::$$sourceContent

 Constants

 

Line feed to use in place of EOL

LINE_FEED 
Inherited

inherited_from \Zend\Code\Generator\AbstractGenerator::LINE_FEED