PHP Класс Plum\Plum\Result

Автор: Florian Eckerstorfer ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
addException ( Exception $exception ) : Result
getErrorCount ( ) : integer
getExceptions ( ) : Exception[]
getItemWriteCount ( ) : integer Returns the item write count of the result. This counter is incremented every time an item is written. Every item can only increase this counter by 1. For example, when 3 items are written to 2 writers each then the item write count will be 3.
getReadCount ( ) : integer
getWriteCount ( ) : integer Returns the write count of the result. This counter is incremented every time an item is written to a writer. If an item is written to multiple writers, the counter is increased multiple times for every item. For example, when 3 items are written to 2 writers each then the write count will be 6.
incItemWriteCount ( ) : Result
incReadCount ( ) : Result
incWriteCount ( ) : Result

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

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

public addException ( Exception $exception ) : Result
$exception Exception
Результат Result

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

public getErrorCount ( ) : integer
Результат integer

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

public getExceptions ( ) : Exception[]
Результат Exception[]

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

Returns the item write count of the result. This counter is incremented every time an item is written. Every item can only increase this counter by 1. For example, when 3 items are written to 2 writers each then the item write count will be 3.
public getItemWriteCount ( ) : integer
Результат integer

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

public getReadCount ( ) : integer
Результат integer

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

Returns the write count of the result. This counter is incremented every time an item is written to a writer. If an item is written to multiple writers, the counter is increased multiple times for every item. For example, when 3 items are written to 2 writers each then the write count will be 6.
public getWriteCount ( ) : integer
Результат integer

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

public incItemWriteCount ( ) : Result
Результат Result

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

public incReadCount ( ) : Result
Результат Result

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

public incWriteCount ( ) : Result
Результат Result