PHP Класс ResultPrinter, PayPal-PHP-SDK

Наследование: extends PHPUnit_Util_Printer, implements PHPUnit_Framework_TestListener, use trait Bartlett\LoggerTestListenerTrait, use trait Psr\Log\LoggerAwareTrait, use trait GetOpt
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
printError ( $title, $objectName, null $objectId = null, null $request = null, Exception $exception = null ) Prints Error
printOutput ( string $title, string $objectName, string $objectId = null, mixed $request = null, mixed $response = null, string $errorMessage = null ) Prints HTML Output to web page.
printResult ( string $title, string $objectName, string $objectId = null, mixed $request = null, mixed $response = null ) Prints success response HTML Output to web page.

Защищенные методы

Метод Описание
printConsoleObject ( $object, $error = null )
printObject ( $object, $error = null )

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

printConsoleObject() защищенный статический Метод

protected static printConsoleObject ( $object, $error = null )

printError() публичный статический Метод

Prints Error
public static printError ( $title, $objectName, null $objectId = null, null $request = null, Exception $exception = null )
$title
$objectName
$objectId null
$request null
$exception Exception

printObject() защищенный статический Метод

protected static printObject ( $object, $error = null )

printOutput() публичный статический Метод

Prints HTML Output to web page.
public static printOutput ( string $title, string $objectName, string $objectId = null, mixed $request = null, mixed $response = null, string $errorMessage = null )
$title string
$objectName string
$objectId string
$request mixed
$response mixed
$errorMessage string

printResult() публичный статический Метод

Prints success response HTML Output to web page.
public static printResult ( string $title, string $objectName, string $objectId = null, mixed $request = null, mixed $response = null )
$title string
$objectName string
$objectId string
$request mixed
$response mixed