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 61
writeln(string $content = '')

Parameters

string $content

at line line 71
write(string $content)

Parameters

string $content

at line line 90
rtrim()

at line line 101
endsWith($search)

Parameters

$search

at line line 105
reset()

at line line 112
getContent()