mirror of
https://github.com/danog/postgres.git
synced 2024-12-02 09:27:54 +01:00
16 lines
406 B
PHP
16 lines
406 B
PHP
<?php
|
|
|
|
namespace Amp\Postgres;
|
|
|
|
use Amp\Sql\Common\PooledStatement as SqlPooledStatement;
|
|
use Amp\Sql\ResultSet as SqlResultSet;
|
|
|
|
final class PooledStatement extends SqlPooledStatement
|
|
{
|
|
protected function createResultSet(SqlResultSet $resultSet, callable $release): SqlResultSet
|
|
{
|
|
\assert($resultSet instanceof ResultSet);
|
|
return new PooledResultSet($resultSet, $release);
|
|
}
|
|
}
|