TDoG-Skin/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PingableConnection.php
2024-08-17 19:13:54 +08:00

20 lines
389 B
PHP
Executable File

<?php
namespace Doctrine\DBAL\Driver;
/**
* An interface for connections which support a "native" ping method.
*
* @deprecated
*/
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();
}