composer package updates
[openemr.git] / vendor / illuminate / contracts / Config / Repository.php
blob17c1d5f283afe205c9c04649ad7ff02cef910477
1 <?php
3 namespace Illuminate\Contracts\Config;
5 interface Repository
7 /**
8 * Determine if the given configuration value exists.
10 * @param string $key
11 * @return bool
13 public function has($key);
15 /**
16 * Get the specified configuration value.
18 * @param array|string $key
19 * @param mixed $default
20 * @return mixed
22 public function get($key, $default = null);
24 /**
25 * Get all of the configuration items for the application.
27 * @return array
29 public function all();
31 /**
32 * Set a given configuration value.
34 * @param array|string $key
35 * @param mixed $value
36 * @return void
38 public function set($key, $value = null);
40 /**
41 * Prepend a value onto an array configuration value.
43 * @param string $key
44 * @param mixed $value
45 * @return void
47 public function prepend($key, $value);
49 /**
50 * Push a value onto an array configuration value.
52 * @param string $key
53 * @param mixed $value
54 * @return void
56 public function push($key, $value);