protected function determineTags($job)
    {
        switch (true) {
            case is_string($job):
                return [];
            case array_key_exists('tags', $this->decoded):
                return $this->decoded['tags'];
            default:
                return Tags::for($job);
        }
    }
protected function determineTags($job)
    {
        switch (true) {
            case is_string($job):
                return [];
            case array_key_exists('tags', $this->decoded):
                return $this->decoded['tags'];
            default:
                return Tags::for($job);
        }
    }
protected function determineTags ( $ job ) { switch ( true ) { case is_string ( $ job ) : return [ ] ; case array_key_exists ( 'tags' , $ this -> decoded ) : return $ this -> decoded [ 'tags' ] ; default : return Tags :: for ( $ job ) ; } }
Get the appropriate tags for the job.

@param  mixed  $job
@return array
Get the appropriate tags for the job .