Extend Closable in TransientResource

This commit is contained in:
Aaron Piotrowski 2022-06-21 16:50:30 -05:00
parent aa1144f3e4
commit ca11796cc1
No known key found for this signature in database
GPG Key ID: 5B456E6AABA44A63

View File

@ -2,13 +2,10 @@
namespace Amp\Sql; namespace Amp\Sql;
interface TransientResource use Amp\Closable;
{
/**
* Indicates if the resource is still valid.
*/
public function isAlive(): bool;
interface TransientResource extends Closable
{
/** /**
* Get the timestamp of the last usage of this resource. * Get the timestamp of the last usage of this resource.
* *