Zend Framework  3.0
Public Member Functions | Public Attributes | Protected Attributes | List of all members
AbstractGenerator Class Reference

Public Member Functions

 __construct ($options=[])
 
 setSourceDirty ($isSourceDirty=true)
 
 isSourceDirty ()
 
 setIndentation ($indentation)
 
 getIndentation ()
 
 setSourceContent ($sourceContent)
 
 getSourceContent ()
 
 setOptions ($options)
 
- Public Member Functions inherited from GeneratorInterface
 generate ()
 

Public Attributes

const LINE_FEED = "\n"
 Line feed to use in place of EOL.
 

Protected Attributes

 $isSourceDirty = true
 
 $indentation = ' '
 
 $sourceContent = null
 

Constructor & Destructor Documentation

__construct (   $options = [])
Parameters
array$options

Member Function Documentation

getIndentation ( )
Returns
string
getSourceContent ( )
Returns
string
isSourceDirty ( )
Returns
bool
setIndentation (   $indentation)
Parameters
string$indentation
Returns
AbstractGenerator
setOptions (   $options)
Parameters
array | Traversable$options
Exceptions
Exception\InvalidArgumentException
Returns
AbstractGenerator
setSourceContent (   $sourceContent)
Parameters
string$sourceContent
Returns
AbstractGenerator
setSourceDirty (   $isSourceDirty = true)
Parameters
bool$isSourceDirty
Returns
AbstractGenerator

Member Data Documentation

$indentation = ' '
protected
$isSourceDirty = true
protected
$sourceContent = null
protected
const LINE_FEED = "\n"

Line feed to use in place of EOL.