protected function iteratoToArray(Traversable $config) {
		$config = iterator_to_array($config);
		
		foreach ($config as &$value) {
			if ($value instanceof Traversable) {
				$value = $this->iteratoToArray($value);
			}
		}
		unset($value);
		
		return $config;
	}
protected function iteratoToArray(Traversable $config) {
		$config = iterator_to_array($config);
		
		foreach ($config as &$value) {
			if ($value instanceof Traversable) {
				$value = $this->iteratoToArray($value);
			}
		}
		unset($value);
		
		return $config;
	}
protected function iteratoToArray ( Traversable $ config ) { $ config = iterator_to_array ( $ config ) ; foreach ( $ config as & $ value ) { if ( $ value instanceof Traversable ) { $ value = $ this -> iteratoToArray ( $ value ) ; } } unset ( $ value ) ; return $ config ; }
Recursive iterator to array

@param  Traversable $config
@return array
Recursive iterator to array