private function getSetting($serviceName, $variable) {
        // make sure there are settings for the service
        if (!isset($this->settings[$serviceName])) {
            $this->settings[$serviceName] = array(
                'maxFailures' => $this->defaultMaxFailures,
                'retryTimeout' => $this->defaultRetryTimeout,
            );
        }
        return $this->settings[$serviceName][$variable];
    }
private function getSetting($serviceName, $variable) {
        // make sure there are settings for the service
        if (!isset($this->settings[$serviceName])) {
            $this->settings[$serviceName] = array(
                'maxFailures' => $this->defaultMaxFailures,
                'retryTimeout' => $this->defaultRetryTimeout,
            );
        }
        return $this->settings[$serviceName][$variable];
    }
private function getSetting ( $ serviceName , $ variable ) { // make sure there are settings for the service
 if ( ! isset ( $ this -> settings [ $ serviceName ] ) ) { $ this -> settings [ $ serviceName ] = array ( 'maxFailures' => $ this -> defaultMaxFailures , 'retryTimeout' => $ this -> defaultRetryTimeout , ) ; } return $ this -> settings [ $ serviceName ] [ $ variable ] ; }
Load setting or initialise service name with defaults for faster lookups

@param string $serviceName   what service to look for
@param string $variable      what setting to look for
@return int
Load setting or initialise service name with defaults for faster lookups