Created
December 7, 2017 12:10
-
-
Save anonymous/73084870d786ca585a7c7c1140fc3308 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What I have | |
[ | |
(int) 0 => [ | |
'Field' => 'Name', | |
'Criteria' => 'Test' | |
], | |
(int) 1 => [ | |
'Field' => 'Name', | |
'Criteria' => 'Sofia' | |
], | |
(int) 2 => [ | |
'Field' => 'Name', | |
'Criteria' => 'Mark' | |
], | |
] | |
WHat I need to transform to | |
[ | |
[ | |
'Field' => 'Name', | |
'Criteria' => 'Test' | |
], | |
[ | |
'Field' => 'Name', | |
'Criteria' => 'Sofia' | |
], | |
[ | |
'Field' => 'Name', | |
'Criteria' => 'Mark' | |
], | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment