<?php

namespace App\Http\Controllers\Billplz;

use App\Classes\Modules\Billplzs\ControllersLogic\CallbackBillplzLogic;
use Illuminate\Http\Request;

class CallbackBillplzController
{

    /**
     * @param Request $request
     * @param CallbackBillplzLogic $logic
     * @return bool|\Illuminate\Contracts\View\Factory|\Illuminate\View\View
     * @throws \App\Classes\Exceptions\MalformedRequestException
     * @throws \App\Classes\Exceptions\ResourceNotFoundException
     */
    public function callback(Request $request, CallbackBillplzLogic $logic) {
        return $logic->execute($request);
    }

}