public function clear($queue)
    {
        $this->client->request->post(
            $this->apiEndpoint.'/projects/'.$this->params['project'].'/queues/'.$queue.'/clear'
        );
    }
public function clear($queue)
    {
        $this->client->request->post(
            $this->apiEndpoint.'/projects/'.$this->params['project'].'/queues/'.$queue.'/clear'
        );
    }
public function clear ( $ queue ) { $ this -> client -> request -> post ( $ this -> apiEndpoint . '/projects/' . $ this -> params [ 'project' ] . '/queues/' . $ queue . '/clear' ) ; }
Receives the name of a queue and clears it.

@param string $queue
@return void
Receives the name of a queue and clears it .