mirror of
https://github.com/danog/postgres.git
synced 2024-12-13 01:47:41 +01:00
16 lines
376 B
PHP
16 lines
376 B
PHP
<?php
|
|
|
|
namespace Amp\Postgres\Test;
|
|
|
|
use Amp\{ CancellationToken, Promise };
|
|
use Amp\Postgres\PgSqlConnection;
|
|
|
|
/**
|
|
* @requires extension pgsql
|
|
*/
|
|
class PgSqlConnectTest extends AbstractConnectTest {
|
|
public function connect(string $connectionString, CancellationToken $token = null): Promise {
|
|
return PgSqlConnection::connect($connectionString, $token);
|
|
}
|
|
}
|