Closed MarkRedeman closed 9 years ago
Sine you're already requiring Illuminate\Support, why not use its Collection class?
This way we do stuff like:
$expected = Faker::times(10)->create('User'); $users = User::all(); $this->assertEquals($users->toArray(), $expected->toArray());
I'm going to tag this idea for the next big release.
Done.
Sine you're already requiring Illuminate\Support, why not use its Collection class?
This way we do stuff like: