PHP Class Plum\Plum\Result

Author: Florian Eckerstorfer ([email protected])
Afficher le fichier Open project: plumphp/plum Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

addException() public méthode

public addException ( Exception $exception ) : Result
$exception Exception
Résultat Result

getErrorCount() public méthode

public getErrorCount ( ) : integer
Résultat integer

getExceptions() public méthode

public getExceptions ( ) : Exception[]
Résultat Exception[]

getItemWriteCount() public méthode

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
Résultat integer

getReadCount() public méthode

public getReadCount ( ) : integer
Résultat integer

getWriteCount() public méthode

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
Résultat integer

incItemWriteCount() public méthode

public incItemWriteCount ( ) : Result
Résultat Result

incReadCount() public méthode

public incReadCount ( ) : Result
Résultat Result

incWriteCount() public méthode

public incWriteCount ( ) : Result
Résultat Result