PHP Интерфейс PhpBench\Storage\DriverInterface

Показать файл Открыть проект

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

Метод Описание
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