15 lines
230 B
PHP
15 lines
230 B
PHP
|
<?php
|
||
|
|
||
|
namespace Amp\Sql;
|
||
|
|
||
|
use Amp\Promise;
|
||
|
|
||
|
interface Connector {
|
||
|
/**
|
||
|
* @param string $connectionString
|
||
|
*
|
||
|
* @return Promise<Connection>
|
||
|
*/
|
||
|
public function connect(string $connectionString): Promise;
|
||
|
}
|