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