PingableConnection.php 389 B

12345678910111213141516171819
  1. <?php
  2. namespace Doctrine\DBAL\Driver;
  3. /**
  4. * An interface for connections which support a "native" ping method.
  5. *
  6. * @deprecated
  7. */
  8. interface PingableConnection
  9. {
  10. /**
  11. * Pings the database server to determine if the connection is still
  12. * available. Return true/false based on if that was successful or not.
  13. *
  14. * @return bool
  15. */
  16. public function ping();
  17. }