<?php
 namespace App\Listeners; use TechSoft\Laravel\Pay\Events\OrderPayedEvent; class PayListener { public function onOrderPayed(OrderPayedEvent $event) { $biz = $event->biz; $bizId = $event->bizId; } public function subscribe($events) { $events->listen( OrderPayedEvent::class, '\App\Listeners\PayListener@onOrderPayed' ); } }