thephpleague / fractal

Output complex, flexible, AJAX/RESTful data structures.

Home Page:fractal.thephpleague.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to create custom ArraySerializer with the result of meta pagination array inside the collection array

suariana opened this issue · comments

hello, im trying to make a custom Array Serializer the code is like this :

image

the result is like this :
image

but the result that i want to return is like this :
image

Is there anyone who can help find a solution?
thanks..

@suariana did you find the solution or did you close by accident?

yes, i found the solution by modify the result on meta function on my custom array serializer..