underscore-php icon indicating copy to clipboard operation
underscore-php copied to clipboard

Arrays::replaceKey

Open 199911 opened this issue 10 years ago • 0 comments

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

199911 avatar Apr 26 '16 07:04 199911