public static function getDefault($type)
{
$type = trim(strtolower($type));
if (array_key_exists($type, self::$_configs)) {
return self::$_configs[$type];
}
return null;
}
public function testEmptyDefault() { is(null, Config::getDefault('undefined')); }