暂存
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Database;
|
||||
|
||||
use Throwable;
|
||||
|
||||
interface LostConnectionDetector
|
||||
{
|
||||
/**
|
||||
* Determine if the given exception was caused by a lost connection.
|
||||
*
|
||||
* @param \Throwable $e
|
||||
* @return bool
|
||||
*/
|
||||
public function causedByLostConnection(Throwable $e): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user