src/FileSaver.php
public function save($fileName, $values, $map = null) {
		if ($map !== null) {
			$output = $this->createOutputWithMap($values,$map);
		} else {
			$output = $this->createOutput($values);
		}

		$this->saveToFile($fileName, $output);
	}
public function save($fileName, $values, $map = null) {
		if ($map !== null) {
			$output = $this->createOutputWithMap($values,$map);
		} else {
			$output = $this->createOutput($values);
		}

		$this->saveToFile($fileName, $output);
	}
public function save ( $ fileName , $ values , $ map = null ) { if ( $ map !== null ) { $ output = $ this -> createOutputWithMap ( $ values , $ map ) ; } else { $ output = $ this -> createOutput ( $ values ) ; } $ this -> saveToFile ( $ fileName , $ output ) ; }
Writes configuration array to file

@param string $fileName File name
@param array $values Configuration values
@param array|null $map File map
Writes configuration array to file