static protected function normalizeOptions($options) {
		if ($options instanceof Traversable) {
			$options = iterator_to_array($options);
		}
		
		if (! is_array($options)) {
			throw new InvalidOptions('Options must be an array or a Traversable implementation');
		}
		
		return $options;
	}
static protected function normalizeOptions($options) {
		if ($options instanceof Traversable) {
			$options = iterator_to_array($options);
		}
		
		if (! is_array($options)) {
			throw new InvalidOptions('Options must be an array or a Traversable implementation');
		}
		
		return $options;
	}
static protected function normalizeOptions ( $ options ) { if ( $ options instanceof Traversable ) { $ options = iterator_to_array ( $ options ) ; } if ( ! is_array ( $ options ) ) { throw new InvalidOptions ( 'Options must be an array or a Traversable implementation' ) ; } return $ options ; }
Normalize the options

@param  array | Traversable $options
@return array
@throws InvalidOptions
Normalize the options