1: <?php
2: /**
3: * This file is part of the Autarky package.
4: *
5: * (c) Andreas Lutro <anlutro@gmail.com>
6: *
7: * For the full copyright and license information, please view the LICENSE
8: * file that was distributed with this source code.
9: */
10:
11: namespace Autarky\Config;
12:
13: /**
14: * Interface for config loaders.
15: */
16: interface LoaderInterface
17: {
18: /**
19: * Load a config resource.
20: *
21: * @param string $location
22: *
23: * @return array
24: *
25: * @throws \RuntimeException If location does not contain valid data
26: */
27: public function load($location);
28: }
29: