src/ServiceBus/ServiceBusRestProxy.php
public function listSubscriptions(
        $topicPath,
        ListSubscriptionsOptions $listSubscriptionsOptions = null
    ) {
        $listSubscriptionsPath = sprintf(
            Resources::LIST_SUBSCRIPTIONS_PATH,
            $topicPath
        );
        $response = $this->_listOptions(
            $listSubscriptionsOptions,
            $listSubscriptionsPath
        );
        $listSubscriptionsResult = new ListSubscriptionsResult();
        $listSubscriptionsResult->parseXml($response->getBody());

        return $listSubscriptionsResult;
    }
public function listSubscriptions(
        $topicPath,
        ListSubscriptionsOptions $listSubscriptionsOptions = null
    ) {
        $listSubscriptionsPath = sprintf(
            Resources::LIST_SUBSCRIPTIONS_PATH,
            $topicPath
        );
        $response = $this->_listOptions(
            $listSubscriptionsOptions,
            $listSubscriptionsPath
        );
        $listSubscriptionsResult = new ListSubscriptionsResult();
        $listSubscriptionsResult->parseXml($response->getBody());

        return $listSubscriptionsResult;
    }
public function listSubscriptions ( $ topicPath , ListSubscriptionsOptions $ listSubscriptionsOptions = null ) { $ listSubscriptionsPath = sprintf ( Resources :: LIST_SUBSCRIPTIONS_PATH , $ topicPath ) ; $ response = $ this -> _listOptions ( $ listSubscriptionsOptions , $ listSubscriptionsPath ) ; $ listSubscriptionsResult = new ListSubscriptionsResult ( ) ; $ listSubscriptionsResult -> parseXml ( $ response -> getBody ( ) ) ; return $ listSubscriptionsResult ; }
Lists subscription.

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

@param string                        $topicPath                The path of
the topic
@param ListSubscriptionsOptions|null $listSubscriptionsOptions The options
to list the subscription

@return ListSubscriptionsResult
Lists subscription .