PHP Class Phrozn\Outputter\HtmlOutputter

Author: Victor Farazdagi
Author: Antoine Goutenoir
Inheritance: implements Phrozn\Outputter
Show file Open project: farazdagi/phrozn

Public Methods

Method Description
stderr ( string $msg, string $status = self::STATUS_FAIL ) : Phrozn\Outputter Writes the message $msg to STDERR.
stdout ( string $msg, string $status = self::STATUS_OK ) : Phrozn\Outputter Writes the message $msg to STDOUT.

Protected Methods

Method Description
replaceEOLs ( $msg )

Private Methods

Method Description
removeColors ( $msg )

Method Details

replaceEOLs() protected method

protected replaceEOLs ( $msg )

stderr() public method

Writes the message $msg to STDERR.
public stderr ( string $msg, string $status = self::STATUS_FAIL ) : Phrozn\Outputter
$msg string The message to output
$status string Output status
return Phrozn\Outputter

stdout() public method

Writes the message $msg to STDOUT.
public stdout ( string $msg, string $status = self::STATUS_OK ) : Phrozn\Outputter
$msg string The message to output
$status string Ignored
return Phrozn\Outputter