Is there a way to iterate through models collection using a closure? just like how laravel do it
Laravel Style
$items = Model::where('column', $id)->get()->each(function($model)
{
$model->var = 0;
$model->save();
});