ManaPHP\Configure\Engine\Ini::load PHP Method

load() public method

public load ( string $file ) : array
$file string
return array
    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;
    }
Ini