20 lines
379 B
PHP
20 lines
379 B
PHP
<?php
|
|
|
|
namespace Modules\OfflinePayment\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('offlinepayment.methods'), true);
|
|
}
|
|
}
|