src/View/Helper/GravatarHelper.php
protected function _buildOptions($options = []) {
		$gravatarOptions = array_intersect(array_keys($options), array_keys($this->_defaultConfig));
		if (!empty($gravatarOptions)) {
			$optionArray = [];
			foreach ($gravatarOptions as $key) {
				$value = $options[$key];
				$optionArray[] = $key . '=' . mb_strtolower($value);
			}
			return '?' . implode('&amp;', $optionArray);
		}
		return '';
	}
protected function _buildOptions($options = []) {
		$gravatarOptions = array_intersect(array_keys($options), array_keys($this->_defaultConfig));
		if (!empty($gravatarOptions)) {
			$optionArray = [];
			foreach ($gravatarOptions as $key) {
				$value = $options[$key];
				$optionArray[] = $key . '=' . mb_strtolower($value);
			}
			return '?' . implode('&amp;', $optionArray);
		}
		return '';
	}
protected function _buildOptions ( $ options = [ ] ) { $ gravatarOptions = array_intersect ( array_keys ( $ options ) , array_keys ( $ this -> _defaultConfig ) ) ; if ( ! empty ( $ gravatarOptions ) ) { $ optionArray = [ ] ; foreach ( $ gravatarOptions as $ key ) { $ value = $ options [ $ key ] ; $ optionArray [ ] = $ key . '=' . mb_strtolower ( $ value ) ; } return '?' . implode ( '&amp;' , $ optionArray ) ; } return '' ; }
Build Options URL string

@param array $options Array of options, keyed from default settings
@return string URL string of options
Build Options URL string