public function split($format = null, $path = null)
	{
		$format = $format ?: 'php';
		$path   = $path   ?: PATH_APP . DS . 'config';

		$writer = new \Hubzero\Config\FileWriter(
			$format,
			$path
		);

		foreach ($this->map as $group => $values)
		{
			$contents = array();
			foreach ($values as $key)
			{
				$contents[$key] = $this->get($group . '.' . $key);
			}

			$writer->write($contents, $group);
		}
	}
public function split($format = null, $path = null)
	{
		$format = $format ?: 'php';
		$path   = $path   ?: PATH_APP . DS . 'config';

		$writer = new \Hubzero\Config\FileWriter(
			$format,
			$path
		);

		foreach ($this->map as $group => $values)
		{
			$contents = array();
			foreach ($values as $key)
			{
				$contents[$key] = $this->get($group . '.' . $key);
			}

			$writer->write($contents, $group);
		}
	}
public function split ( $ format = null , $ path = null ) { $ format = $ format ? : 'php' ; $ path = $ path ? : PATH_APP . DS . 'config' ; $ writer = new \ Hubzero \ Config \ FileWriter ( $ format , $ path ) ; foreach ( $ this -> map as $ group => $ values ) { $ contents = array ( ) ; foreach ( $ values as $ key ) { $ contents [ $ key ] = $ this -> get ( $ group . '.' . $ key ) ; } $ writer -> write ( $ contents , $ group ) ; } }
Split the config file into new format

@param   string  $format
@param   string  $path
@return  void
Split the config file into new format