robclancy/presenter — pull request #19 by ifeltsweet (2013-10-10 15:30:40+00:00)
Title: Allow for toArray and toJson methods to work properly on a collection.

This commit makes possible the following use case:

$users = User::all();

foreach ($matches as $key => $match) {
$matches[$key] = new MatchPresenter($match);
}

return $users->toJson();