PHP 인터페이스 PhpBench\Storage\DriverInterface

파일 보기 프로젝트 열기: dantleech/phpbench

공개 메소드들

메소드 설명
delete ( $runId ) Delete the run with the given UUID.
fetch ( integer $runId ) : SuiteCollection Return the suite collection with the given run ID.
has ( $runId ) Return true if the driver has the given run ID.
history ( ) : HistoryIteratorInterface Return a history iterator of HistoryEntries in descending chronological order.
query ( PhpBench\Expression\Constraint\Constraint $constraint ) : SuiteCollection Query the storage and return a SuiteCollection.
store ( SuiteCollection $collection ) Store the given SuiteCollection.

메소드 상세

delete() 공개 메소드

Delete the run with the given UUID.
public delete ( $runId )

fetch() 공개 메소드

If no suite is found an exception will be thrown.
public fetch ( integer $runId ) : SuiteCollection
$runId integer
리턴 PhpBench\Model\SuiteCollection

has() 공개 메소드

Return true if the driver has the given run ID.
public has ( $runId )

history() 공개 메소드

Return a history iterator of HistoryEntries in descending chronological order.
public history ( ) : HistoryIteratorInterface
리턴 HistoryIteratorInterface

query() 공개 메소드

Query the storage and return a SuiteCollection.
public query ( PhpBench\Expression\Constraint\Constraint $constraint ) : SuiteCollection
$constraint PhpBench\Expression\Constraint\Constraint
리턴 PhpBench\Model\SuiteCollection

store() 공개 메소드

Store the given SuiteCollection.
public store ( SuiteCollection $collection )
$collection PhpBench\Model\SuiteCollection