Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Arrays::replaceKey #93

Open
199911 opened this issue Apr 26, 2016 · 0 comments
Open

Arrays::replaceKey #93

199911 opened this issue Apr 26, 2016 · 0 comments

Comments

@199911
Copy link

199911 commented Apr 26, 2016

It is difficult to know the object's key order,
I suggest to make second input parameter as an associative array.
such as Arrays::replaceKey($post, ['post_id'=>'id']) replace the key post_id by id

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant