20 lines
373 B
PHP
20 lines
373 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Modules\Offline\Events\Handlers;
|
||
|
|
|
||
|
|
use App\Events\PaymentGatewayListing;
|
||
|
|
|
||
|
|
class OfflinePaymentGateway
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* Handle the event.
|
||
|
|
*
|
||
|
|
* @param PaymentGatewayListing $event
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
public function handle(PaymentGatewayListing $event)
|
||
|
|
{
|
||
|
|
return json_decode(setting('offline.payment.methods'), true);
|
||
|
|
}
|
||
|
|
}
|