Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use formatter as a service returns empty array #4

Closed
johnnycaol opened this issue Mar 26, 2014 · 1 comment
Closed

Use formatter as a service returns empty array #4

johnnycaol opened this issue Mar 26, 2014 · 1 comment

Comments

@johnnycaol
Copy link

When the formatter is used as a service, e.g.:

$data['ids'] = '1,2,3';
$results = Formatter::make($data['ids'], 'csv')->to_array();

The result is an empty array while is should return an array contains element 1, 2 and 3.

@grahammccarthy
Copy link
Member

I'll look into this.

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

No branches or pull requests

2 participants