Vous êtes connecté en tant que anonymous Se Deconnecter
Browse code

Application modulaire fonctionnelle !

Emmanuel ROY authored on 12/08/2019 15:10:25
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,57 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Contracts\Config;
4
-
5
-interface Repository
6
-{
7
-    /**
8
-     * Determine if the given configuration value exists.
9
-     *
10
-     * @param  string  $key
11
-     * @return bool
12
-     */
13
-    public function has($key);
14
-
15
-    /**
16
-     * Get the specified configuration value.
17
-     *
18
-     * @param  array|string  $key
19
-     * @param  mixed   $default
20
-     * @return mixed
21
-     */
22
-    public function get($key, $default = null);
23
-
24
-    /**
25
-     * Get all of the configuration items for the application.
26
-     *
27
-     * @return array
28
-     */
29
-    public function all();
30
-
31
-    /**
32
-     * Set a given configuration value.
33
-     *
34
-     * @param  array|string  $key
35
-     * @param  mixed   $value
36
-     * @return void
37
-     */
38
-    public function set($key, $value = null);
39
-
40
-    /**
41
-     * Prepend a value onto an array configuration value.
42
-     *
43
-     * @param  string  $key
44
-     * @param  mixed  $value
45
-     * @return void
46
-     */
47
-    public function prepend($key, $value);
48
-
49
-    /**
50
-     * Push a value onto an array configuration value.
51
-     *
52
-     * @param  string  $key
53
-     * @param  mixed  $value
54
-     * @return void
55
-     */
56
-    public function push($key, $value);
57
-}
Browse code

initial commit

Emmanuel ROY authored on 09/08/2019 08:39:02
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,57 @@
1
+<?php
2
+
3
+namespace Illuminate\Contracts\Config;
4
+
5
+interface Repository
6
+{
7
+    /**
8
+     * Determine if the given configuration value exists.
9
+     *
10
+     * @param  string  $key
11
+     * @return bool
12
+     */
13
+    public function has($key);
14
+
15
+    /**
16
+     * Get the specified configuration value.
17
+     *
18
+     * @param  array|string  $key
19
+     * @param  mixed   $default
20
+     * @return mixed
21
+     */
22
+    public function get($key, $default = null);
23
+
24
+    /**
25
+     * Get all of the configuration items for the application.
26
+     *
27
+     * @return array
28
+     */
29
+    public function all();
30
+
31
+    /**
32
+     * Set a given configuration value.
33
+     *
34
+     * @param  array|string  $key
35
+     * @param  mixed   $value
36
+     * @return void
37
+     */
38
+    public function set($key, $value = null);
39
+
40
+    /**
41
+     * Prepend a value onto an array configuration value.
42
+     *
43
+     * @param  string  $key
44
+     * @param  mixed  $value
45
+     * @return void
46
+     */
47
+    public function prepend($key, $value);
48
+
49
+    /**
50
+     * Push a value onto an array configuration value.
51
+     *
52
+     * @param  string  $key
53
+     * @param  mixed  $value
54
+     * @return void
55
+     */
56
+    public function push($key, $value);
57
+}