src/Tao/Utilities.php
public function setConfiguration(array $config = [])
	{
		# Merge config with default values
		$config = $config + $this->getDefaultConfiguration();

		# If debug mode, store config data for debug purpose
		if (!empty($config['debug'])) {
			$this->config = $config;
		}

		return $config;
	}
public function setConfiguration(array $config = [])
	{
		# Merge config with default values
		$config = $config + $this->getDefaultConfiguration();

		# If debug mode, store config data for debug purpose
		if (!empty($config['debug'])) {
			$this->config = $config;
		}

		return $config;
	}
public function setConfiguration ( array $ config = [ ] ) { # Merge config with default values $ config = $ config + $ this -> getDefaultConfiguration ( ) ; # If debug mode, store config data for debug purpose if ( ! empty ( $ config [ 'debug' ] ) ) { $ this -> config = $ config ; } return $ config ; }
Return application configuration values.

@param array $config
@return array
Return application configuration values .