lib/Opauth/OpauthStrategy.php
protected function expects($key, $not = null) {
		if (!array_key_exists($key, $this->strategy)) {
			trigger_error($this->name." config parameter for \"$key\" expected.", E_USER_ERROR);
			exit();
		}

		$value = $this->strategy[$key];
		if (empty($value) || $value == $not) {
			trigger_error($this->name." config parameter for \"$key\" expected.", E_USER_ERROR);
			exit();
		}

		return $value;
	}
protected function expects($key, $not = null) {
		if (!array_key_exists($key, $this->strategy)) {
			trigger_error($this->name." config parameter for \"$key\" expected.", E_USER_ERROR);
			exit();
		}

		$value = $this->strategy[$key];
		if (empty($value) || $value == $not) {
			trigger_error($this->name." config parameter for \"$key\" expected.", E_USER_ERROR);
			exit();
		}

		return $value;
	}
protected function expects ( $ key , $ not = null ) { if ( ! array_key_exists ( $ key , $ this -> strategy ) ) { trigger_error ( $ this -> name . " config parameter for \"$key\" expected." , E_USER_ERROR ) ; exit ( ) ; } $ value = $ this -> strategy [ $ key ] ; if ( empty ( $ value ) || $ value == $ not ) { trigger_error ( $ this -> name . " config parameter for \"$key\" expected." , E_USER_ERROR ) ; exit ( ) ; } return $ value ; }
Ensures that a compulsory value is set, throws an error if it's not set

@param string $key Expected configuration key
@param string $not If value is set as $not, trigger E_USER_ERROR
@return mixed The loaded value
Ensures that a compulsory value is set throws an error if it s not set