public function load($file) { $data = parse_ini_file($file, true); if ($data === false) { throw new IniException('`:file` configure file can not be loaded', ['file' => $file]); } return $data; }