src/ServiceBus/ServiceBusRestProxy.php
public function getQueue($queuePath)
    {
        $httpCallContext = new HttpCallContext();
        $httpCallContext->setPath($queuePath);
        $httpCallContext->setMethod(Resources::HTTP_GET);
        $httpCallContext->addStatusCode(Resources::STATUS_OK);
        $response = $this->sendHttpContext($httpCallContext);
        $queueInfo = new QueueInfo();
        $queueInfo->parseXml($response->getBody());

        return $queueInfo;
    }
public function getQueue($queuePath)
    {
        $httpCallContext = new HttpCallContext();
        $httpCallContext->setPath($queuePath);
        $httpCallContext->setMethod(Resources::HTTP_GET);
        $httpCallContext->addStatusCode(Resources::STATUS_OK);
        $response = $this->sendHttpContext($httpCallContext);
        $queueInfo = new QueueInfo();
        $queueInfo->parseXml($response->getBody());

        return $queueInfo;
    }
public function getQueue ( $ queuePath ) { $ httpCallContext = new HttpCallContext ( ) ; $ httpCallContext -> setPath ( $ queuePath ) ; $ httpCallContext -> setMethod ( Resources :: HTTP_GET ) ; $ httpCallContext -> addStatusCode ( Resources :: STATUS_OK ) ; $ response = $ this -> sendHttpContext ( $ httpCallContext ) ; $ queueInfo = new QueueInfo ( ) ; $ queueInfo -> parseXml ( $ response -> getBody ( ) ) ; return $ queueInfo ; }
Gets a queue with specified path.

@link http://msdn.microsoft.com/en-us/library/windowsazure/hh780764

@param string $queuePath The path of the queue

@return QueueInfo
Gets a queue with specified path .