src/ImboClient/ImboClient.php
public function getAccessControlRule($publicKey, $ruleId) {
        $this->validatePublicKeyName($publicKey);

        return $this->getCommand('GetAccessControlRule', array(
            'publicKey' => $publicKey,
            'id' => $ruleId,
        ))->execute();
    }
public function getAccessControlRule($publicKey, $ruleId) {
        $this->validatePublicKeyName($publicKey);

        return $this->getCommand('GetAccessControlRule', array(
            'publicKey' => $publicKey,
            'id' => $ruleId,
        ))->execute();
    }
public function getAccessControlRule ( $ publicKey , $ ruleId ) { $ this -> validatePublicKeyName ( $ publicKey ) ; return $ this -> getCommand ( 'GetAccessControlRule' , array ( 'publicKey' => $ publicKey , 'id' => $ ruleId , ) ) -> execute ( ) ; }
Get the access control rule with the given ID which belongs to the given public key

@param string $publicKey Public key
@param string $ruleId ID of the rule to retrieve
@return Model
@throws InvalidArgumentException If the public key name is invalid
Get the access control rule with the given ID which belongs to the given public key