authService->getCustomerAsMandatory(); $shopper = $this->shopperService->getShopperFor($customer->getId()); if (! $shopper || ! $shopper->isActive()) { throw new CustomerNotEmployedException(); } return $next($request); } }