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,42 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Contracts\Translation;
4
-
5
-interface Translator
6
-{
7
-    /**
8
-     * Get the translation for a given key.
9
-     *
10
-     * @param  string  $key
11
-     * @param  array   $replace
12
-     * @param  string|null  $locale
13
-     * @return mixed
14
-     */
15
-    public function trans($key, array $replace = [], $locale = null);
16
-
17
-    /**
18
-     * Get a translation according to an integer value.
19
-     *
20
-     * @param  string  $key
21
-     * @param  int|array|\Countable  $number
22
-     * @param  array   $replace
23
-     * @param  string|null  $locale
24
-     * @return string
25
-     */
26
-    public function transChoice($key, $number, array $replace = [], $locale = null);
27
-
28
-    /**
29
-     * Get the default locale being used.
30
-     *
31
-     * @return string
32
-     */
33
-    public function getLocale();
34
-
35
-    /**
36
-     * Set the default locale.
37
-     *
38
-     * @param  string  $locale
39
-     * @return void
40
-     */
41
-    public function setLocale($locale);
42
-}
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,42 @@
1
+<?php
2
+
3
+namespace Illuminate\Contracts\Translation;
4
+
5
+interface Translator
6
+{
7
+    /**
8
+     * Get the translation for a given key.
9
+     *
10
+     * @param  string  $key
11
+     * @param  array   $replace
12
+     * @param  string|null  $locale
13
+     * @return mixed
14
+     */
15
+    public function trans($key, array $replace = [], $locale = null);
16
+
17
+    /**
18
+     * Get a translation according to an integer value.
19
+     *
20
+     * @param  string  $key
21
+     * @param  int|array|\Countable  $number
22
+     * @param  array   $replace
23
+     * @param  string|null  $locale
24
+     * @return string
25
+     */
26
+    public function transChoice($key, $number, array $replace = [], $locale = null);
27
+
28
+    /**
29
+     * Get the default locale being used.
30
+     *
31
+     * @return string
32
+     */
33
+    public function getLocale();
34
+
35
+    /**
36
+     * Set the default locale.
37
+     *
38
+     * @param  string  $locale
39
+     * @return void
40
+     */
41
+    public function setLocale($locale);
42
+}