src/ExtractTags.php
protected static function targetsFor($job)
    {
        switch (true) {
            case $job instanceof BroadcastEvent:
                return [$job->event];
            case $job instanceof CallQueuedListener:
                return [static::extractEvent($job)];
            case $job instanceof SendQueuedMailable:
                return [$job->mailable];
            case $job instanceof SendQueuedNotifications:
                return [$job->notification];
            default:
                return [$job];
        }
    }
protected static function targetsFor($job)
    {
        switch (true) {
            case $job instanceof BroadcastEvent:
                return [$job->event];
            case $job instanceof CallQueuedListener:
                return [static::extractEvent($job)];
            case $job instanceof SendQueuedMailable:
                return [$job->mailable];
            case $job instanceof SendQueuedNotifications:
                return [$job->notification];
            default:
                return [$job];
        }
    }
protected static function targetsFor ( $ job ) { switch ( true ) { case $ job instanceof BroadcastEvent : return [ $ job -> event ] ; case $ job instanceof CallQueuedListener : return [ static :: extractEvent ( $ job ) ] ; case $ job instanceof SendQueuedMailable : return [ $ job -> mailable ] ; case $ job instanceof SendQueuedNotifications : return [ $ job -> notification ] ; default : return [ $ job ] ; } }
Get the actual target for the given job.

@param  mixed  $job
@return array
Get the actual target for the given job .