protected function determineType($job)
    {
        switch (true) {
            case $job instanceof BroadcastEvent:
                return 'broadcast';
            case $job instanceof CallQueuedListener:
                return 'event';
            case $job instanceof SendQueuedMailable:
                return 'mail';
            case $job instanceof SendQueuedNotifications:
                return 'notification';
            default:
                return 'job';
        }
    }
protected function determineType($job)
    {
        switch (true) {
            case $job instanceof BroadcastEvent:
                return 'broadcast';
            case $job instanceof CallQueuedListener:
                return 'event';
            case $job instanceof SendQueuedMailable:
                return 'mail';
            case $job instanceof SendQueuedNotifications:
                return 'notification';
            default:
                return 'job';
        }
    }
protected function determineType ( $ job ) { switch ( true ) { case $ job instanceof BroadcastEvent : return 'broadcast' ; case $ job instanceof CallQueuedListener : return 'event' ; case $ job instanceof SendQueuedMailable : return 'mail' ; case $ job instanceof SendQueuedNotifications : return 'notification' ; default : return 'job' ; } }
Get the "type" of job being queued.

@param  mixed  $job
@return string
Get the type of job being queued .