mirror of
https://github.com/danog/postgres.git
synced 2024-12-02 17:37:57 +01:00
16 lines
364 B
PHP
16 lines
364 B
PHP
|
<?php
|
||
|
|
||
|
namespace Amp\Postgres\Test;
|
||
|
|
||
|
use Amp\{ CancellationToken, Promise };
|
||
|
use Amp\Postgres\PqConnection;
|
||
|
|
||
|
/**
|
||
|
* @requires extension pq
|
||
|
*/
|
||
|
class PqConnectTest extends AbstractConnectTest {
|
||
|
public function connect(string $connectionString, CancellationToken $token = null): Promise {
|
||
|
return PqConnection::connect($connectionString, $token);
|
||
|
}
|
||
|
}
|