Added vendor/ directory for Composer's installed files
This commit is contained in:
38
vendor/hassankhan/config/src/ConfigInterface.php
vendored
Executable file
38
vendor/hassankhan/config/src/ConfigInterface.php
vendored
Executable file
@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace Noodlehaus;
|
||||
|
||||
/**
|
||||
* Config interface
|
||||
*
|
||||
* @package Config
|
||||
* @author Jesus A. Domingo <jesus.domingo@gmail.com>
|
||||
* @author Hassan Khan <contact@hassankhan.me>
|
||||
* @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);
|
||||
}
|
Reference in New Issue
Block a user