public function switchQueueEntries($first, $second)
    {
        $url = $this->buildUrl('switch', [
            'value'  => $first,
            'value2' => $second
        ]);
        $request = $this->guzzle->request('GET', $url);

        return json_decode($request->getBody(), true)['result'];
    }
public function switchQueueEntries($first, $second)
    {
        $url = $this->buildUrl('switch', [
            'value'  => $first,
            'value2' => $second
        ]);
        $request = $this->guzzle->request('GET', $url);

        return json_decode($request->getBody(), true)['result'];
    }
public function switchQueueEntries ( $ first , $ second ) { $ url = $ this -> buildUrl ( 'switch' , [ 'value' => $ first , 'value2' => $ second ] ) ; $ request = $ this -> guzzle -> request ( 'GET' , $ url ) ; return json_decode ( $ request -> getBody ( ) , true ) [ 'result' ] ; }
Switches two entries in the queue

@param string $first
@param string $second

@return boolean
Switches two entries in the queue