first commit
This commit is contained in:
19
modules/Offline/Events/Handlers/OfflinePaymentGateway.php
Normal file
19
modules/Offline/Events/Handlers/OfflinePaymentGateway.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user