2017-09-14 22:21:00 +03:00
|
|
|
<?php
|
|
|
|
|
2017-09-18 19:57:48 +03:00
|
|
|
namespace Modules\OfflinePayment\Events\Handlers;
|
2017-09-14 22:21:00 +03:00
|
|
|
|
|
|
|
use App\Events\PaymentGatewayListing;
|
|
|
|
|
|
|
|
class OfflinePaymentGateway
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Handle the event.
|
|
|
|
*
|
|
|
|
* @param PaymentGatewayListing $event
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function handle(PaymentGatewayListing $event)
|
|
|
|
{
|
2017-09-18 19:57:48 +03:00
|
|
|
return json_decode(setting('offlinepayment.methods'), true);
|
2017-09-14 22:21:00 +03:00
|
|
|
}
|
|
|
|
}
|