Returns a PHPUnit configuration object.
@since Method available since Release 3.4.0
string $filename:
public static function getInstance($filename) {
$realpath = realpath($filename);
if ($realpath === FALSE) {
throw new PHPUnit_Framework_Exception(sprintf('Could not read "%s".', $filename));
}
if (!isset(self::$instances[$realpath])) {
self::$instances[$realpath] = new PHPUnit_Util_Configuration($realpath);
}
return self::$instances[$realpath];
}