MAKS\AmqpAgent\Helper\EventTrait::bind
Binds the passed function to the passed event.
Signature
protected function bind(string
$event,
Closure
$function )
Parameters
$event
— string- Event name.
$function
— Closure- A closure to process the event.
Returns
- void