Laravel com retorno de chamada

$users = User::with(['posts' => function($query)
{
    $query->orderBy('created_at', 'desc');

}])->get();
Lokesh003