Antevenio/pdo-mysql-select-iterator

View on GitHub
src/NativePDOIterator.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace PdoMysqlSelectIterator;

class NativePDOIterator extends \PDOStatement implements Iterator
{
    protected function __construct()
    {
    }

    public function count()
    {
        return $this->rowCount();
    }

    public function close()
    {
        parent::closeCursor();
    }
}