From e725a607ca66748f99f27db4a95e9872afdb76fc Mon Sep 17 00:00:00 2001 From: Ionut Codreanu Date: Thu, 21 Sep 2023 10:10:10 +0300 Subject: [PATCH] add back $lastPreparedStatement on \Laminas\Db\Adapter\Adapter and mark it as deprecated Signed-off-by: Ionut Codreanu --- src/Adapter/Adapter.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Adapter/Adapter.php b/src/Adapter/Adapter.php index 8bf14244..81db9a4a 100644 --- a/src/Adapter/Adapter.php +++ b/src/Adapter/Adapter.php @@ -49,7 +49,12 @@ class Adapter implements AdapterInterface, Profiler\ProfilerAwareInterface /** @var ResultSet\ResultSetInterface */ protected $queryResultSetPrototype; - + /** + * @deprecated + * + * @var Driver\StatementInterface + */ + protected $lastPreparedStatement; /** * @param Driver\DriverInterface|array $driver * @throws Exception\InvalidArgumentException