with(['orangePills']) ->get() as $item) { foreach ($item->orangePills as $orangePill) { $orangePill->user->givePoint(new BookCaseOrangePilled($orangePill)); } } return Command::SUCCESS; } }