PHP Класс 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.
Автор: Mike Lively ([email protected])
Наследование: implements PHPUnit_Extensions_Database_UI_IMedium
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$arguments array
$command string

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

public __construct ( array $arguments )
$arguments array

buildContext() публичный Метод

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

error() публичный Метод

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

handleException() публичный Метод

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

output() публичный Метод

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

Описание свойств

$arguments защищенное свойство

protected array $arguments
Результат array

$command защищенное свойство

protected string $command
Результат string