PhpBench\Extensions\Dbal\Storage\Driver\DbalDriver::fetch PHP Метод

fetch() публичный Метод

public fetch ( $runId )
    public function fetch($runId)
    {
        if (!$this->repository->hasRun($runId)) {
            throw new \InvalidArgumentException(sprintf('Could not find suite with run ID "%s"', $runId));
        }
        $comparison = new Comparison('$eq', 'run', $runId);
        $collection = $this->query($comparison);
        return $collection;
    }