PHP Class PHPUnit_Extensions_Database_UI_Mediums_Text, qcodo

This class builds the call context based on command line parameters and prints output to stdout and stderr as appropriate.
Author: Mike Lively ([email protected])
Inheritance: implements PHPUnit_Extensions_Database_UI_IMedium
Afficher le fichier Open project: qcodo/qcodo

Protected Properties

Свойство Type Description
$arguments array
$command string

Méthodes publiques

Méthode Description
__construct ( array $arguments )
buildContext ( PHPUnit_Extensions_Database_UI_Context $context ) Builds the context for the application.
error ( string $message ) Prints the message to stderr
handleException ( Exception $e ) Handles the displaying of exceptions received from the application.
output ( string $message ) Prints the message to stdout.

Method Details

__construct() public méthode

public __construct ( array $arguments )
$arguments array

buildContext() public méthode

Builds the context for the application.
public buildContext ( PHPUnit_Extensions_Database_UI_Context $context )
$context PHPUnit_Extensions_Database_UI_Context

error() public méthode

Prints the message to stderr
public error ( string $message )
$message string

handleException() public méthode

Handles the displaying of exceptions received from the application.
public handleException ( Exception $e )
$e Exception

output() public méthode

Prints the message to stdout.
public output ( string $message )
$message string

Property Details

$arguments protected_oe property

protected array $arguments
Résultat array

$command protected_oe property

protected string $command
Résultat string