Skip to content

Enforce toArray()#148

Open
tyrsson wants to merge 1 commit into
php-db:0.6.xfrom
tyrsson:patch-rowprototype-interface
Open

Enforce toArray()#148
tyrsson wants to merge 1 commit into
php-db:0.6.xfrom
tyrsson:patch-rowprototype-interface

Conversation

@tyrsson

@tyrsson tyrsson commented Jun 9, 2026

Copy link
Copy Markdown
Member

Signed-off-by: Joey Smith jsmith@webinertia.net

Q A
Documentation no
Bugfix yes
BC Break no
New Feature yes
RFC no
QA no
House Keeping no

Description

Current Rowgateway implementations expose toArray(). AbtractResultSet checks all RowPrototypeInterface implementations for either toArray() or getArrayCopy(). Due to current RowGateway implementations exposing a toArray() I chose to match the current code.

Signed-off-by: Joey Smith <jsmith@webinertia.net>
@tyrsson tyrsson self-assigned this Jun 9, 2026
@tyrsson tyrsson added bug Something isn't working next minor Target next minor release. labels Jun 9, 2026
@tyrsson tyrsson added this to @phpdb Jun 9, 2026
@github-project-automation github-project-automation Bot moved this to Todo in @phpdb Jun 9, 2026
@tyrsson tyrsson added this to the 0.6.0 milestone Jun 9, 2026
@tyrsson tyrsson changed the title Provide toArray() Enforce toArray() Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working next minor Target next minor release.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant