Deprecate ServerInfoAwareConnection#requiresQueryForServerVersion() as an implementation detail

parent 7addd996
# Upgrade to 2.11
##`ServerInfoAwareConnection::requiresQueryForServerVersion()` is deprecated.
The `ServerInfoAwareConnection::requiresQueryForServerVersion()` method has been deprecated as an implementation detail which is the same for almost all supported drivers.
## Statement constructors are marked internal
The driver and wrapper statement objects can be only created by the corresponding connection objects.
......
......@@ -17,6 +17,8 @@ interface ServerInfoAwareConnection
/**
* Checks whether a query is required to retrieve the database server version.
*
* @deprecated
*
* @return bool True if a query is required to retrieve the database server version, false otherwise.
*/
public function requiresQueryForServerVersion();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment