public function handle(BannedListener $listener, $reason)
    {
        $data = [
            'info'        => trans('antares/ban_management::response.banned.info'),
            'reasonLabel' => trans('antares/ban_management::response.banned.reasonLabel'),
            'reason'      => $reason,
        ];

        return $listener->showInfoPage($data);
    }
public function handle(BannedListener $listener, $reason)
    {
        $data = [
            'info'        => trans('antares/ban_management::response.banned.info'),
            'reasonLabel' => trans('antares/ban_management::response.banned.reasonLabel'),
            'reason'      => $reason,
        ];

        return $listener->showInfoPage($data);
    }
public function handle ( BannedListener $ listener , $ reason ) { $ data = [ 'info' => trans ( 'antares/ban_management::response.banned.info' ) , 'reasonLabel' => trans ( 'antares/ban_management::response.banned.reasonLabel' ) , 'reason' => $ reason , ] ; return $ listener -> showInfoPage ( $ data ) ; }
Returns the listener page about the ban reason.

@param BannedListener $listener
@param string $reason
@return mixed
Returns the listener page about the ban reason .