src/Config/ConfigFactory.php
public static function fromFile($filename)
	{
		$filename = realpath($filename);
		if ($filename === false)
			throw new ClientConfigurationException('Configuration file ' . $filename . ' does not exists');

		return static::fromArray(include $filename);
	}
public static function fromFile($filename)
	{
		$filename = realpath($filename);
		if ($filename === false)
			throw new ClientConfigurationException('Configuration file ' . $filename . ' does not exists');

		return static::fromArray(include $filename);
	}
public static function fromFile ( $ filename ) { $ filename = realpath ( $ filename ) ; if ( $ filename === false ) throw new ClientConfigurationException ( 'Configuration file ' . $ filename . ' does not exists' ) ; return static :: fromArray ( include $ filename ) ; }
creates a configuration from a php file returning an array

@param string $filename

@return ClientConfig
@throws ClientConfigurationException
creates a configuration from a php file returning an array