12 lines
231 B
PHP
12 lines
231 B
PHP
<?php
|
|
|
|
namespace Amp\Sql;
|
|
|
|
interface Operation
|
|
{
|
|
/**
|
|
* @param callable $onDestruct Callback executed when the operation completes or the object is destroyed.
|
|
*/
|
|
public function onDestruct(callable $onDestruct);
|
|
}
|