Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

HypeMC
Copy link
Member

@HypeMC HypeMC commented Feb 23, 2022

Q A
Branch? 6.1
Bug fix? no
New feature? yes
Deprecations? no
Tickets -
License MIT
Doc PR TODO

Adds a toArray method to BrowserKit's Response similar to the one in HttpClient. Is useful when working with json responses.

@carsonbot carsonbot added this to the 6.1 milestone Feb 23, 2022
@HypeMC HypeMC force-pushed the add-toarray-to-browserkit-response branch from 5d1d712 to ee8fcc3 Compare February 23, 2022 00:03
@carsonbot
Copy link

Hey!

I think @alexander-schranz has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@HypeMC HypeMC force-pushed the add-toarray-to-browserkit-response branch from ee8fcc3 to a63fe22 Compare February 25, 2022 06:55
@nicolas-grekas
Copy link
Member

LGTM, can you please have a look at @rodnaph's comments?

@HypeMC HypeMC force-pushed the add-toarray-to-browserkit-response branch from a63fe22 to 19e2e3a Compare March 5, 2022 08:11
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 on my side, with or without private array $jsonData; (I don't have any data to decide if one is better than the other).

@fabpot
Copy link
Member

fabpot commented Mar 9, 2022

Thank you @HypeMC.

@fabpot fabpot merged commit 3c2c068 into symfony:6.1 Mar 9, 2022
@HypeMC HypeMC deleted the add-toarray-to-browserkit-response branch March 9, 2022 08:20
@fabpot fabpot mentioned this pull request Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants