public function pauseQueueTemporary($time)
    {
        $url = $this->buildUrl('config', [
            'name'  => 'set_pause',
            'value' => $time

        ]);
        $request = $this->guzzle->request('GET', $url);

        return json_decode($request->getBody(), true)['status'];
    }
public function pauseQueueTemporary($time)
    {
        $url = $this->buildUrl('config', [
            'name'  => 'set_pause',
            'value' => $time

        ]);
        $request = $this->guzzle->request('GET', $url);

        return json_decode($request->getBody(), true)['status'];
    }
public function pauseQueueTemporary ( $ time ) { $ url = $ this -> buildUrl ( 'config' , [ 'name' => 'set_pause' , 'value' => $ time ] ) ; $ request = $ this -> guzzle -> request ( 'GET' , $ url ) ; return json_decode ( $ request -> getBody ( ) , true ) [ 'status' ] ; }
Pauses the queue temporarely for the given amount of time.

$time is the number of minutes the queue ist paused

@param integer $time

@return boolean
Pauses the queue temporarely for the given amount of time .