Methods

__construct()

__construct(array $options) 

Parameters

$options

array

generate()

generate() 
Inherited

inherited_from \Zend\Code\Generator\GeneratorInterface::generate()

getIndentation()

getIndentation() : string

Returns

string

getSourceContent()

getSourceContent() : string

Returns

string

isSourceDirty()

isSourceDirty() : bool

Returns

bool

setIndentation()

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

Parameters

$indentation

string

Returns

setOptions()

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

setSourceContent()

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

Parameters

$sourceContent

string

Returns

setSourceDirty()

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

Parameters

$isSourceDirty

bool

Returns

 Properties

 

<p>4 spaces by default</p>

$indentation : int | string

 

$isSourceDirty

$isSourceDirty : bool

 

$sourceContent

$sourceContent : string

 Constants

 

Line feed to use in place of EOL

LINE_FEED