PHP Class PhpBench\Storage\Driver\Xml\XmlDriver

The collections are sharded by year, month and day in order that we can effectively sort them without hydrating all of the results.
Inheritance: implements PhpBench\Storage\DriverInterface
Show file Open project: dantleech/phpbench

Public Methods

Method Description
__construct ( $path, XmlEncoder $xmlEncoder, XmlDecoder $xmlDecoder, Symfony\Component\Filesystem\Filesystem $filesystem = null )
delete ( $uuid )
fetch ( $runId )
has ( $runId )
history ( )
query ( PhpBench\Expression\Constraint\Constraint $constraint )
store ( SuiteCollection $collection )

Private Methods

Method Description
getPath ( $uuid )

Method Details

__construct() public method

public __construct ( $path, XmlEncoder $xmlEncoder, XmlDecoder $xmlDecoder, Symfony\Component\Filesystem\Filesystem $filesystem = null )
$xmlEncoder PhpBench\Serializer\XmlEncoder
$xmlDecoder PhpBench\Serializer\XmlDecoder
$filesystem Symfony\Component\Filesystem\Filesystem

delete() public method

public delete ( $uuid )

fetch() public method

public fetch ( $runId )

has() public method

public has ( $runId )

history() public method

public history ( )

query() public method

public query ( PhpBench\Expression\Constraint\Constraint $constraint )
$constraint PhpBench\Expression\Constraint\Constraint

store() public method

public store ( SuiteCollection $collection )
$collection PhpBench\Model\SuiteCollection