1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (https://nette.org)
5: * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
6: * @package Nette\Config
7: */
8:
9:
10:
11: /**
12: * Adapter for reading and writing configuration files.
13: *
14: * @author David Grudl
15: * @package Nette\Config
16: */
17: interface IConfigAdapter
18: {
19:
20: /**
21: * Reads configuration from file.
22: * @param string file name
23: * @return array
24: */
25: function load($file);
26:
27: /**
28: * Generates configuration string.
29: * @return string
30: */
31: function dump(array $data);
32:
33: }
34: