From 7d5e7e09803f74cd63ee0d7cd7495a53fb0b1b46 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Mon, 8 Jun 2026 21:07:40 -0500 Subject: [PATCH] Provide toArray() Signed-off-by: Joey Smith --- src/ResultSet/RowPrototypeInterface.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ResultSet/RowPrototypeInterface.php b/src/ResultSet/RowPrototypeInterface.php index 517628d1..64734d64 100644 --- a/src/ResultSet/RowPrototypeInterface.php +++ b/src/ResultSet/RowPrototypeInterface.php @@ -17,4 +17,9 @@ interface RowPrototypeInterface * Exchange the current data for the provided array. */ public function exchangeArray(array $array): array; + + /** + * Current data as an array and match current RowGateway implementations. + */ + public function toArray(): array; }