vd/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PingableConnection.php
2018-12-10 10:30:56 +08:00

18 lines
371 B
PHP

<?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();
}