updated-packages
This commit is contained in:
45
vendor/doctrine/dbal/lib/Doctrine/DBAL/Abstraction/Result.php
vendored
Normal file
45
vendor/doctrine/dbal/lib/Doctrine/DBAL/Abstraction/Result.php
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Doctrine\DBAL\Abstraction;
|
||||
|
||||
use Doctrine\DBAL\Driver\Result as DriverResult;
|
||||
use Doctrine\DBAL\Exception;
|
||||
use Traversable;
|
||||
|
||||
/**
|
||||
* Abstraction-level result statement execution result. Provides additional methods on top
|
||||
* of the driver-level interface.
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
interface Result extends DriverResult
|
||||
{
|
||||
/**
|
||||
* Returns an iterator over the result set rows represented as numeric arrays.
|
||||
*
|
||||
* @return Traversable<int,array<int,mixed>>
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function iterateNumeric(): Traversable;
|
||||
|
||||
/**
|
||||
* Returns an iterator over the result set rows represented as associative arrays.
|
||||
*
|
||||
* @return Traversable<int,array<string,mixed>>
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function iterateAssociative(): Traversable;
|
||||
|
||||
/**
|
||||
* Returns an iterator over the values of the first column of the result set.
|
||||
*
|
||||
* @return Traversable<int,mixed>
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function iterateColumn(): Traversable;
|
||||
}
|
Reference in New Issue
Block a user