class PhoneResolversImpl implements PhoneResolvers {

    @Override
    public DataFetcher<Phone> deletePhoneDataFetcher() {
        return environment -> {
            long phoneId = util.getLongArg(environment, "phoneId");

            return phoneLocalService.deletePhone(phoneId);
        };
    }

}