PhpBench\Extensions\Dbal\Storage\Driver\Dbal\HistoryIterator::init PHP Method

init() private method

private init ( )
    private function init()
    {
        if (null === $this->statement) {
            $this->statement = $this->repository->getHistoryStatement();
        }
        if ($this->position !== $this->actualPosition) {
            $this->current = $this->statement->fetch(\PDO::FETCH_ASSOC, \PDO::FETCH_ORI_ABS, $this->position);
            $this->actualPosition = $this->position;
        }
    }