/** * Closses the connection to the database... use openConnection() to renew. */ protected static function closeConnection() { self::$connection->close(); self::$conneciton = false; }