src/ExtractTags.php
protected static function tagsForListener($job)
    {
        return collect(
            [static::extractListener($job), static::extractEvent($job),
        ])->map(function ($job) {
            return static::from($job);
        })->collapse()->unique()->toArray();
    }
protected static function tagsForListener($job)
    {
        return collect(
            [static::extractListener($job), static::extractEvent($job),
        ])->map(function ($job) {
            return static::from($job);
        })->collapse()->unique()->toArray();
    }
protected static function tagsForListener ( $ job ) { return collect ( [ static :: extractListener ( $ job ) , static :: extractEvent ( $ job ) , ] ) -> map ( function ( $ job ) { return static :: from ( $ job ) ; } ) -> collapse ( ) -> unique ( ) -> toArray ( ) ; }
Determine tags for the given queued listener.

@param  mixed  $job
@return array
Determine tags for the given queued listener .