/* */
/**
* Return link to PDO connection on system database
* @return \PDO
*/
public function con() {
$this->count++;
return $this->link;
}
/**
* Return query count maked to database. Function for debug.
* @return int
*/
public function getQueryCount() {
return $this->count;
}
/**
* Check is database down now
* @return bool
*/
public function isDown() {
return is_null($this->link);
}