customerRepository->findBy('uuid', $uuid); abort_if(!$customer, 404, "Can't find customer by UUID #{$uuid}"); return $customer; } }