src/ServiceBus/ServiceBusRestProxy.php
public function listRules(
        $topicPath,
        $subscriptionName,
        ListRulesOptions $listRulesOptions = null
    ) {
        $listRulesPath = sprintf(
            Resources::LIST_RULES_PATH,
            $topicPath,
            $subscriptionName
        );

        $response = $this->_listOptions(
            $listRulesOptions,
            $listRulesPath
        );

        $listRulesResult = new ListRulesResult();
        $listRulesResult->parseXml($response->getBody());

        return $listRulesResult;
    }
public function listRules(
        $topicPath,
        $subscriptionName,
        ListRulesOptions $listRulesOptions = null
    ) {
        $listRulesPath = sprintf(
            Resources::LIST_RULES_PATH,
            $topicPath,
            $subscriptionName
        );

        $response = $this->_listOptions(
            $listRulesOptions,
            $listRulesPath
        );

        $listRulesResult = new ListRulesResult();
        $listRulesResult->parseXml($response->getBody());

        return $listRulesResult;
    }
public function listRules ( $ topicPath , $ subscriptionName , ListRulesOptions $ listRulesOptions = null ) { $ listRulesPath = sprintf ( Resources :: LIST_RULES_PATH , $ topicPath , $ subscriptionName ) ; $ response = $ this -> _listOptions ( $ listRulesOptions , $ listRulesPath ) ; $ listRulesResult = new ListRulesResult ( ) ; $ listRulesResult -> parseXml ( $ response -> getBody ( ) ) ; return $ listRulesResult ; }
Lists rules.

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

@param string                $topicPath        The path of the topic
@param string                $subscriptionName The name of the subscription
@param ListRulesOptions|null $listRulesOptions The options to list the rules

@return ListRulesResult
Lists rules .