Documentation

PingableConnection

An interface for connections which support a "native" ping method.

Tags
link
www.doctrine-project.org
since
2.5
author

Till Klampaeckel till@php.net

author

Benjamin Eberlei kontakt@beberlei.de

Table of Contents

ping()  : bool
Pings the database server to determine if the connection is still available. Return true/false based on if that was successful or not.

Methods

ping()

Pings the database server to determine if the connection is still available. Return true/false based on if that was successful or not.

public ping() : bool
Return values
bool

Search results