/** Drop connection * * @return boolean True if the connection is removed * @throws PDOException Error of drop */ public static function destroyConnection() { try { if (self::$instance != null) { self::$instance = NULL; } return true; } catch (PDOException $event) { throw new PDOException($event->getMessage()); } }