public withCollection ( $data, callable | League\Fractal\TransformerAbstract $transformer, string $resourceKey = null, League\Fractal\Pagination\Cursor $cursor = null, array $meta = [], array $headers = [] ) : mixed | ||
$data | ||
$transformer | callable | League\Fractal\TransformerAbstract | |
$resourceKey | string | |
$cursor | League\Fractal\Pagination\Cursor | |
$meta | array | |
$headers | array | |
return | mixed |