src/ServiceBus/ServiceBusRestProxy.php
public function getTopic($topicPath)
    {
        $httpCallContext = new HttpCallContext();
        $httpCallContext->setMethod(Resources::HTTP_GET);
        $httpCallContext->setPath($topicPath);
        $httpCallContext->addStatusCode(Resources::STATUS_OK);
        $response = $this->sendHttpContext($httpCallContext);
        $topicInfo = new TopicInfo();
        $topicInfo->parseXml($response->getBody());

        return $topicInfo;
    }
public function getTopic($topicPath)
    {
        $httpCallContext = new HttpCallContext();
        $httpCallContext->setMethod(Resources::HTTP_GET);
        $httpCallContext->setPath($topicPath);
        $httpCallContext->addStatusCode(Resources::STATUS_OK);
        $response = $this->sendHttpContext($httpCallContext);
        $topicInfo = new TopicInfo();
        $topicInfo->parseXml($response->getBody());

        return $topicInfo;
    }
public function getTopic ( $ topicPath ) { $ httpCallContext = new HttpCallContext ( ) ; $ httpCallContext -> setMethod ( Resources :: HTTP_GET ) ; $ httpCallContext -> setPath ( $ topicPath ) ; $ httpCallContext -> addStatusCode ( Resources :: STATUS_OK ) ; $ response = $ this -> sendHttpContext ( $ httpCallContext ) ; $ topicInfo = new TopicInfo ( ) ; $ topicInfo -> parseXml ( $ response -> getBody ( ) ) ; return $ topicInfo ; }
Gets a topic.

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

@param string $topicPath The path of the topic

@return TopicInfo
Gets a topic .