diff --git a/src/TransientResource.php b/src/TransientResource.php index 8b12ed1..cb97f79 100644 --- a/src/TransientResource.php +++ b/src/TransientResource.php @@ -2,13 +2,10 @@ namespace Amp\Sql; -interface TransientResource -{ - /** - * Indicates if the resource is still valid. - */ - public function isAlive(): bool; +use Amp\Closable; +interface TransientResource extends Closable +{ /** * Get the timestamp of the last usage of this resource. *