Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | CRAP |
<?php | |
namespace Environaut\Config\Reader; | |
/** | |
* Interface all specific config file readers must implement. | |
*/ | |
interface IConfigReader | |
{ | |
/** | |
* Reads the config from the given location and | |
* returns the data as an associative array. | |
* | |
* @param mixed $location location to read config data from (usually file/directory path) | |
* | |
* @return array config data as associative array | |
* | |
* @throws \InvalidArgumentException in case of problems handling the given location | |
*/ | |
public function getConfigData($location); | |
} |