PHP 클래스 Plum\Plum\Result

저자: Florian Eckerstorfer ([email protected])
파일 보기 프로젝트 열기: plumphp/plum 1 사용 예제들

공개 메소드들

메소드 설명
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