提交代码
This commit is contained in:
17
vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PingableConnection.php
vendored
Normal file
17
vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PingableConnection.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Doctrine\DBAL\Driver;
|
||||
|
||||
/**
|
||||
* An interface for connections which support a "native" ping method.
|
||||
*/
|
||||
interface PingableConnection
|
||||
{
|
||||
/**
|
||||
* Pings the database server to determine if the connection is still
|
||||
* available. Return true/false based on if that was successful or not.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function ping();
|
||||
}
|
||||
Reference in New Issue
Block a user