class Writer

A writer implementation.

This may be used to simplify writing well-formatted code.

Methods

__construct($options = array())

No description

indent()

No description

outdent()

No description

writeln(string $content = '')

No description

write(string $content)

No description

rtrim()

No description

endsWith($search)

No description

reset()

No description

getContent()

No description

Details

at line line 38
__construct($options = array())

Parameters

$options

at line line 45
indent()

at line line 51
outdent()

at line line 65
writeln(string $content = '')

Parameters

string $content

at line line 75
write(string $content)

Parameters

string $content

at line line 94
rtrim()

at line line 105
endsWith($search)

Parameters

$search

at line line 109
reset()

at line line 116
getContent()