PHP Interface Phrozn\Outputter

Author: Victor Farazdagi
Show file Open project: farazdagi/phrozn

Public Methods

Method Description
stderr ( string $msg, string $status = self::STATUS_FAIL ) : Phrozn\Outputter Processes the output for a message that should be displayed on STDERR.
stdout ( string $msg, string $status = self::STATUS_OK ) : Phrozn\Outputter Processes the output for a message that should be displayed on STDOUT.

Method Details

stderr() public method

Processes the output for a message that should be displayed on 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

Processes the output for a message that should be displayed on STDOUT.
public stdout ( string $msg, string $status = self::STATUS_OK ) : Phrozn\Outputter
$msg string The message to output
$status string Output status
return Phrozn\Outputter