GeneratorInterface
in
Generator interface
Tags
Table of Contents
- getIndent() : int
- Get the indent
- getOutput() : string
- Get the output
- hasIndent() : bool
- Has indent
- hasOutput() : bool
- Has output
- isRendered() : bool
- Is rendered (alias to hasOutput())
- printIndent() : string
- Print the indent
- render() : string
- Render method
- setIndent() : GeneratorInterface
- Set the indent
Methods
getIndent()
Get the indent
public
getIndent() : int
Return values
int —getOutput()
Get the output
public
getOutput() : string
Return values
string —hasIndent()
Has indent
public
hasIndent() : bool
Return values
bool —hasOutput()
Has output
public
hasOutput() : bool
Return values
bool —isRendered()
Is rendered (alias to hasOutput())
public
isRendered() : bool
Return values
bool —printIndent()
Print the indent
public
printIndent() : string
Return values
string —render()
Render method
public
render() : string
Return values
string —setIndent()
Set the indent
public
setIndent(int $indent) : GeneratorInterface
Parameters
- $indent : int