* @author Hassan Khan * @link https://github.com/noodlehaus/config * @license MIT */ interface ConfigInterface { /** * Gets a configuration setting using a simple or nested key. * Nested keys are similar to JSON paths that use the dot * dot notation. * * @param string $key * @param mixed $default * * @return mixed */ public function get($key, $default = null); /** * Function for setting configuration values, using * either simple or nested keys. * * @param string $key * @param mixed $value * * @return void */ public function set($key, $value); }