public function addTemporary($minutes, $id, array $tags)
    {
        $this->connection()->pipeline(function ($pipe) use ($minutes, $id, $tags) {
            foreach ($tags as $tag) {
                $pipe->zadd($tag, $id, $id);

                $pipe->expire($tag, $minutes * 60);
            }
        });
    }
public function addTemporary($minutes, $id, array $tags)
    {
        $this->connection()->pipeline(function ($pipe) use ($minutes, $id, $tags) {
            foreach ($tags as $tag) {
                $pipe->zadd($tag, $id, $id);

                $pipe->expire($tag, $minutes * 60);
            }
        });
    }
public function addTemporary ( $ minutes , $ id , array $ tags ) { $ this -> connection ( ) -> pipeline ( function ( $ pipe ) use ( $ minutes , $ id , $ tags ) { foreach ( $ tags as $ tag ) { $ pipe -> zadd ( $ tag , $ id , $ id ) ; $ pipe -> expire ( $ tag , $ minutes * 60 ) ; } } ) ; }
Store the tags for the given job temporarily.

@param  int  $minutes
@param  string  $id
@param  array  $tags
@return void
Store the tags for the given job temporarily .