public function ensureDefaultFormat($file)
	{
		if ( ! pathinfo($file, PATHINFO_EXTENSION))
		{
			$file .= '.'.$this->defaultFormat;
		}

		return empty($this->configFolder) ? $file : $this->configFolder.DIRECTORY_SEPARATOR.$file;
	}
public function ensureDefaultFormat($file)
	{
		if ( ! pathinfo($file, PATHINFO_EXTENSION))
		{
			$file .= '.'.$this->defaultFormat;
		}

		return empty($this->configFolder) ? $file : $this->configFolder.DIRECTORY_SEPARATOR.$file;
	}
public function ensureDefaultFormat ( $ file ) { if ( ! pathinfo ( $ file , PATHINFO_EXTENSION ) ) { $ file .= '.' . $ this -> defaultFormat ; } return empty ( $ this -> configFolder ) ? $ file : $ this -> configFolder . DIRECTORY_SEPARATOR . $ file ; }
Ensures a default config format

@param string $file

@return string
Ensures a default config format