Unverified Commit d7b24f15 authored by Grégoire Paris's avatar Grégoire Paris Committed by GitHub

Merge pull request #4110 from morozov/convert-positional-placeholders-internal

Mark non-interface OCI8 driver methods internal
parents 0743e04e a35819db
# Upgrade to 2.11 # Upgrade to 2.11
## Non-interface driver methods have been marked internal
The non-interface methods of driver-level classes have been marked internal:
- `OCI8Connection::getExecuteMode()`
- `OCI8Statement::convertPositionalToNamedPlaceholders()`
## Inconsistently and ambiguously named driver-level classes are deprecated ## Inconsistently and ambiguously named driver-level classes are deprecated
The following classes under the `Driver` namespace have been deprecated in favor of their consistently named counterparts: The following classes under the `Driver` namespace have been deprecated in favor of their consistently named counterparts:
......
...@@ -176,6 +176,8 @@ class OCI8Connection implements ConnectionInterface, ServerInfoAwareConnection ...@@ -176,6 +176,8 @@ class OCI8Connection implements ConnectionInterface, ServerInfoAwareConnection
/** /**
* Returns the current execution mode. * Returns the current execution mode.
* *
* @internal
*
* @return int * @return int
*/ */
public function getExecuteMode() public function getExecuteMode()
......
...@@ -133,6 +133,8 @@ class OCI8Statement implements IteratorAggregate, StatementInterface, Result ...@@ -133,6 +133,8 @@ class OCI8Statement implements IteratorAggregate, StatementInterface, Result
* Question marks inside literal strings are therefore handled correctly by this method. * Question marks inside literal strings are therefore handled correctly by this method.
* This comes at a cost, the whole sql statement has to be looped over. * This comes at a cost, the whole sql statement has to be looped over.
* *
* @internal
*
* @param string $statement The SQL statement to convert. * @param string $statement The SQL statement to convert.
* *
* @return mixed[] [0] => the statement value (string), [1] => the paramMap value (array). * @return mixed[] [0] => the statement value (string), [1] => the paramMap value (array).
......
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