15 lines
228 B
PHP
15 lines
228 B
PHP
|
<?php
|
||
|
|
||
|
namespace Amp\Sql;
|
||
|
|
||
|
use Amp\Promise;
|
||
|
|
||
|
interface Link extends Executor {
|
||
|
/**
|
||
|
* Starts a transaction on a single connection.
|
||
|
*
|
||
|
* @return \Amp\Promise
|
||
|
*/
|
||
|
public function transaction(): Promise;
|
||
|
}
|