1
0
mirror of https://github.com/danog/postgres.git synced 2025-01-07 13:40:25 +01:00
postgres/test/PqConnectTest.php

17 lines
368 B
PHP
Raw Normal View History

2017-06-15 05:46:25 +02:00
<?php
namespace Amp\Postgres\Test;
use Amp\CancellationToken;
2017-06-15 05:46:25 +02:00
use Amp\Postgres\PqConnection;
use Amp\Promise;
2017-06-15 05:46:25 +02:00
/**
* @requires extension pq
*/
class PqConnectTest extends AbstractConnectTest {
public function connect(string $connectionString, CancellationToken $token = null): Promise {
return PqConnection::connect($connectionString, $token);
}
}