@@ -4,39 +4,39 @@ |
||
4 | 4 | |
5 | 5 | interface Translator |
6 | 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 get($key, array $replace = [], $locale = null); |
|
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 get($key, array $replace = [], $locale = null); |
|
16 | 16 | |
17 | - /** |
|
18 | - * Get a translation according to an integer value. |
|
19 | - * |
|
20 | - * @param string $key |
|
21 | - * @param \Countable|int|array $number |
|
22 | - * @param array $replace |
|
23 | - * @param string|null $locale |
|
24 | - * @return string |
|
25 | - */ |
|
26 | - public function choice($key, $number, array $replace = [], $locale = null); |
|
17 | + /** |
|
18 | + * Get a translation according to an integer value. |
|
19 | + * |
|
20 | + * @param string $key |
|
21 | + * @param \Countable|int|array $number |
|
22 | + * @param array $replace |
|
23 | + * @param string|null $locale |
|
24 | + * @return string |
|
25 | + */ |
|
26 | + public function choice($key, $number, array $replace = [], $locale = null); |
|
27 | 27 | |
28 | - /** |
|
29 | - * Get the default locale being used. |
|
30 | - * |
|
31 | - * @return string |
|
32 | - */ |
|
33 | - public function getLocale(); |
|
28 | + /** |
|
29 | + * Get the default locale being used. |
|
30 | + * |
|
31 | + * @return string |
|
32 | + */ |
|
33 | + public function getLocale(); |
|
34 | 34 | |
35 | - /** |
|
36 | - * Set the default locale. |
|
37 | - * |
|
38 | - * @param string $locale |
|
39 | - * @return void |
|
40 | - */ |
|
41 | - public function setLocale($locale); |
|
35 | + /** |
|
36 | + * Set the default locale. |
|
37 | + * |
|
38 | + * @param string $locale |
|
39 | + * @return void |
|
40 | + */ |
|
41 | + public function setLocale($locale); |
|
42 | 42 | } |
@@ -4,44 +4,44 @@ |
||
4 | 4 | |
5 | 5 | interface Factory |
6 | 6 | { |
7 | - /** |
|
8 | - * Create a new cookie instance. |
|
9 | - * |
|
10 | - * @param string $name |
|
11 | - * @param string $value |
|
12 | - * @param int $minutes |
|
13 | - * @param string|null $path |
|
14 | - * @param string|null $domain |
|
15 | - * @param bool|null $secure |
|
16 | - * @param bool $httpOnly |
|
17 | - * @param bool $raw |
|
18 | - * @param string|null $sameSite |
|
19 | - * @return \Symfony\Component\HttpFoundation\Cookie |
|
20 | - */ |
|
21 | - public function make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null); |
|
7 | + /** |
|
8 | + * Create a new cookie instance. |
|
9 | + * |
|
10 | + * @param string $name |
|
11 | + * @param string $value |
|
12 | + * @param int $minutes |
|
13 | + * @param string|null $path |
|
14 | + * @param string|null $domain |
|
15 | + * @param bool|null $secure |
|
16 | + * @param bool $httpOnly |
|
17 | + * @param bool $raw |
|
18 | + * @param string|null $sameSite |
|
19 | + * @return \Symfony\Component\HttpFoundation\Cookie |
|
20 | + */ |
|
21 | + public function make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null); |
|
22 | 22 | |
23 | - /** |
|
24 | - * Create a cookie that lasts "forever" (five years). |
|
25 | - * |
|
26 | - * @param string $name |
|
27 | - * @param string $value |
|
28 | - * @param string|null $path |
|
29 | - * @param string|null $domain |
|
30 | - * @param bool|null $secure |
|
31 | - * @param bool $httpOnly |
|
32 | - * @param bool $raw |
|
33 | - * @param string|null $sameSite |
|
34 | - * @return \Symfony\Component\HttpFoundation\Cookie |
|
35 | - */ |
|
36 | - public function forever($name, $value, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null); |
|
23 | + /** |
|
24 | + * Create a cookie that lasts "forever" (five years). |
|
25 | + * |
|
26 | + * @param string $name |
|
27 | + * @param string $value |
|
28 | + * @param string|null $path |
|
29 | + * @param string|null $domain |
|
30 | + * @param bool|null $secure |
|
31 | + * @param bool $httpOnly |
|
32 | + * @param bool $raw |
|
33 | + * @param string|null $sameSite |
|
34 | + * @return \Symfony\Component\HttpFoundation\Cookie |
|
35 | + */ |
|
36 | + public function forever($name, $value, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null); |
|
37 | 37 | |
38 | - /** |
|
39 | - * Expire the given cookie. |
|
40 | - * |
|
41 | - * @param string $name |
|
42 | - * @param string|null $path |
|
43 | - * @param string|null $domain |
|
44 | - * @return \Symfony\Component\HttpFoundation\Cookie |
|
45 | - */ |
|
46 | - public function forget($name, $path = null, $domain = null); |
|
38 | + /** |
|
39 | + * Expire the given cookie. |
|
40 | + * |
|
41 | + * @param string $name |
|
42 | + * @param string|null $path |
|
43 | + * @param string|null $domain |
|
44 | + * @return \Symfony\Component\HttpFoundation\Cookie |
|
45 | + */ |
|
46 | + public function forget($name, $path = null, $domain = null); |
|
47 | 47 | } |
@@ -4,27 +4,27 @@ |
||
4 | 4 | |
5 | 5 | interface QueueingFactory extends Factory |
6 | 6 | { |
7 | - /** |
|
8 | - * Queue a cookie to send with the next response. |
|
9 | - * |
|
10 | - * @param array $parameters |
|
11 | - * @return void |
|
12 | - */ |
|
13 | - public function queue(...$parameters); |
|
7 | + /** |
|
8 | + * Queue a cookie to send with the next response. |
|
9 | + * |
|
10 | + * @param array $parameters |
|
11 | + * @return void |
|
12 | + */ |
|
13 | + public function queue(...$parameters); |
|
14 | 14 | |
15 | - /** |
|
16 | - * Remove a cookie from the queue. |
|
17 | - * |
|
18 | - * @param string $name |
|
19 | - * @param string|null $path |
|
20 | - * @return void |
|
21 | - */ |
|
22 | - public function unqueue($name, $path = null); |
|
15 | + /** |
|
16 | + * Remove a cookie from the queue. |
|
17 | + * |
|
18 | + * @param string $name |
|
19 | + * @param string|null $path |
|
20 | + * @return void |
|
21 | + */ |
|
22 | + public function unqueue($name, $path = null); |
|
23 | 23 | |
24 | - /** |
|
25 | - * Get the cookies which have been queued for the next request. |
|
26 | - * |
|
27 | - * @return array |
|
28 | - */ |
|
29 | - public function getQueuedCookies(); |
|
24 | + /** |
|
25 | + * Get the cookies which have been queued for the next request. |
|
26 | + * |
|
27 | + * @return array |
|
28 | + */ |
|
29 | + public function getQueuedCookies(); |
|
30 | 30 | } |
@@ -4,17 +4,17 @@ |
||
4 | 4 | |
5 | 5 | interface CachesRoutes |
6 | 6 | { |
7 | - /** |
|
8 | - * Determine if the application routes are cached. |
|
9 | - * |
|
10 | - * @return bool |
|
11 | - */ |
|
12 | - public function routesAreCached(); |
|
7 | + /** |
|
8 | + * Determine if the application routes are cached. |
|
9 | + * |
|
10 | + * @return bool |
|
11 | + */ |
|
12 | + public function routesAreCached(); |
|
13 | 13 | |
14 | - /** |
|
15 | - * Get the path to the routes cache file. |
|
16 | - * |
|
17 | - * @return string |
|
18 | - */ |
|
19 | - public function getCachedRoutesPath(); |
|
14 | + /** |
|
15 | + * Get the path to the routes cache file. |
|
16 | + * |
|
17 | + * @return string |
|
18 | + */ |
|
19 | + public function getCachedRoutesPath(); |
|
20 | 20 | } |
@@ -4,24 +4,24 @@ |
||
4 | 4 | |
5 | 5 | interface CachesConfiguration |
6 | 6 | { |
7 | - /** |
|
8 | - * Determine if the application configuration is cached. |
|
9 | - * |
|
10 | - * @return bool |
|
11 | - */ |
|
12 | - public function configurationIsCached(); |
|
7 | + /** |
|
8 | + * Determine if the application configuration is cached. |
|
9 | + * |
|
10 | + * @return bool |
|
11 | + */ |
|
12 | + public function configurationIsCached(); |
|
13 | 13 | |
14 | - /** |
|
15 | - * Get the path to the configuration cache file. |
|
16 | - * |
|
17 | - * @return string |
|
18 | - */ |
|
19 | - public function getCachedConfigPath(); |
|
14 | + /** |
|
15 | + * Get the path to the configuration cache file. |
|
16 | + * |
|
17 | + * @return string |
|
18 | + */ |
|
19 | + public function getCachedConfigPath(); |
|
20 | 20 | |
21 | - /** |
|
22 | - * Get the path to the cached services.php file. |
|
23 | - * |
|
24 | - * @return string |
|
25 | - */ |
|
26 | - public function getCachedServicesPath(); |
|
21 | + /** |
|
22 | + * Get the path to the cached services.php file. |
|
23 | + * |
|
24 | + * @return string |
|
25 | + */ |
|
26 | + public function getCachedServicesPath(); |
|
27 | 27 | } |
@@ -6,210 +6,210 @@ |
||
6 | 6 | |
7 | 7 | interface Application extends Container |
8 | 8 | { |
9 | - /** |
|
10 | - * Get the version number of the application. |
|
11 | - * |
|
12 | - * @return string |
|
13 | - */ |
|
14 | - public function version(); |
|
15 | - |
|
16 | - /** |
|
17 | - * Get the base path of the Laravel installation. |
|
18 | - * |
|
19 | - * @param string $path |
|
20 | - * @return string |
|
21 | - */ |
|
22 | - public function basePath($path = ''); |
|
23 | - |
|
24 | - /** |
|
25 | - * Get the path to the bootstrap directory. |
|
26 | - * |
|
27 | - * @param string $path |
|
28 | - * @return string |
|
29 | - */ |
|
30 | - public function bootstrapPath($path = ''); |
|
31 | - |
|
32 | - /** |
|
33 | - * Get the path to the application configuration files. |
|
34 | - * |
|
35 | - * @param string $path |
|
36 | - * @return string |
|
37 | - */ |
|
38 | - public function configPath($path = ''); |
|
39 | - |
|
40 | - /** |
|
41 | - * Get the path to the database directory. |
|
42 | - * |
|
43 | - * @param string $path |
|
44 | - * @return string |
|
45 | - */ |
|
46 | - public function databasePath($path = ''); |
|
47 | - |
|
48 | - /** |
|
49 | - * Get the path to the resources directory. |
|
50 | - * |
|
51 | - * @param string $path |
|
52 | - * @return string |
|
53 | - */ |
|
54 | - public function resourcePath($path = ''); |
|
55 | - |
|
56 | - /** |
|
57 | - * Get the path to the storage directory. |
|
58 | - * |
|
59 | - * @return string |
|
60 | - */ |
|
61 | - public function storagePath(); |
|
62 | - |
|
63 | - /** |
|
64 | - * Get or check the current application environment. |
|
65 | - * |
|
66 | - * @param string|array $environments |
|
67 | - * @return string|bool |
|
68 | - */ |
|
69 | - public function environment(...$environments); |
|
70 | - |
|
71 | - /** |
|
72 | - * Determine if the application is running in the console. |
|
73 | - * |
|
74 | - * @return bool |
|
75 | - */ |
|
76 | - public function runningInConsole(); |
|
77 | - |
|
78 | - /** |
|
79 | - * Determine if the application is running unit tests. |
|
80 | - * |
|
81 | - * @return bool |
|
82 | - */ |
|
83 | - public function runningUnitTests(); |
|
84 | - |
|
85 | - /** |
|
86 | - * Determine if the application is currently down for maintenance. |
|
87 | - * |
|
88 | - * @return bool |
|
89 | - */ |
|
90 | - public function isDownForMaintenance(); |
|
91 | - |
|
92 | - /** |
|
93 | - * Register all of the configured providers. |
|
94 | - * |
|
95 | - * @return void |
|
96 | - */ |
|
97 | - public function registerConfiguredProviders(); |
|
98 | - |
|
99 | - /** |
|
100 | - * Register a service provider with the application. |
|
101 | - * |
|
102 | - * @param \Illuminate\Support\ServiceProvider|string $provider |
|
103 | - * @param bool $force |
|
104 | - * @return \Illuminate\Support\ServiceProvider |
|
105 | - */ |
|
106 | - public function register($provider, $force = false); |
|
107 | - |
|
108 | - /** |
|
109 | - * Register a deferred provider and service. |
|
110 | - * |
|
111 | - * @param string $provider |
|
112 | - * @param string|null $service |
|
113 | - * @return void |
|
114 | - */ |
|
115 | - public function registerDeferredProvider($provider, $service = null); |
|
116 | - |
|
117 | - /** |
|
118 | - * Resolve a service provider instance from the class name. |
|
119 | - * |
|
120 | - * @param string $provider |
|
121 | - * @return \Illuminate\Support\ServiceProvider |
|
122 | - */ |
|
123 | - public function resolveProvider($provider); |
|
124 | - |
|
125 | - /** |
|
126 | - * Boot the application's service providers. |
|
127 | - * |
|
128 | - * @return void |
|
129 | - */ |
|
130 | - public function boot(); |
|
131 | - |
|
132 | - /** |
|
133 | - * Register a new boot listener. |
|
134 | - * |
|
135 | - * @param callable $callback |
|
136 | - * @return void |
|
137 | - */ |
|
138 | - public function booting($callback); |
|
139 | - |
|
140 | - /** |
|
141 | - * Register a new "booted" listener. |
|
142 | - * |
|
143 | - * @param callable $callback |
|
144 | - * @return void |
|
145 | - */ |
|
146 | - public function booted($callback); |
|
147 | - |
|
148 | - /** |
|
149 | - * Run the given array of bootstrap classes. |
|
150 | - * |
|
151 | - * @param array $bootstrappers |
|
152 | - * @return void |
|
153 | - */ |
|
154 | - public function bootstrapWith(array $bootstrappers); |
|
155 | - |
|
156 | - /** |
|
157 | - * Get the current application locale. |
|
158 | - * |
|
159 | - * @return string |
|
160 | - */ |
|
161 | - public function getLocale(); |
|
162 | - |
|
163 | - /** |
|
164 | - * Get the application namespace. |
|
165 | - * |
|
166 | - * @return string |
|
167 | - * |
|
168 | - * @throws \RuntimeException |
|
169 | - */ |
|
170 | - public function getNamespace(); |
|
171 | - |
|
172 | - /** |
|
173 | - * Get the registered service provider instances if any exist. |
|
174 | - * |
|
175 | - * @param \Illuminate\Support\ServiceProvider|string $provider |
|
176 | - * @return array |
|
177 | - */ |
|
178 | - public function getProviders($provider); |
|
179 | - |
|
180 | - /** |
|
181 | - * Determine if the application has been bootstrapped before. |
|
182 | - * |
|
183 | - * @return bool |
|
184 | - */ |
|
185 | - public function hasBeenBootstrapped(); |
|
186 | - |
|
187 | - /** |
|
188 | - * Load and boot all of the remaining deferred providers. |
|
189 | - * |
|
190 | - * @return void |
|
191 | - */ |
|
192 | - public function loadDeferredProviders(); |
|
193 | - |
|
194 | - /** |
|
195 | - * Set the current application locale. |
|
196 | - * |
|
197 | - * @param string $locale |
|
198 | - * @return void |
|
199 | - */ |
|
200 | - public function setLocale($locale); |
|
201 | - |
|
202 | - /** |
|
203 | - * Determine if middleware has been disabled for the application. |
|
204 | - * |
|
205 | - * @return bool |
|
206 | - */ |
|
207 | - public function shouldSkipMiddleware(); |
|
208 | - |
|
209 | - /** |
|
210 | - * Terminate the application. |
|
211 | - * |
|
212 | - * @return void |
|
213 | - */ |
|
214 | - public function terminate(); |
|
9 | + /** |
|
10 | + * Get the version number of the application. |
|
11 | + * |
|
12 | + * @return string |
|
13 | + */ |
|
14 | + public function version(); |
|
15 | + |
|
16 | + /** |
|
17 | + * Get the base path of the Laravel installation. |
|
18 | + * |
|
19 | + * @param string $path |
|
20 | + * @return string |
|
21 | + */ |
|
22 | + public function basePath($path = ''); |
|
23 | + |
|
24 | + /** |
|
25 | + * Get the path to the bootstrap directory. |
|
26 | + * |
|
27 | + * @param string $path |
|
28 | + * @return string |
|
29 | + */ |
|
30 | + public function bootstrapPath($path = ''); |
|
31 | + |
|
32 | + /** |
|
33 | + * Get the path to the application configuration files. |
|
34 | + * |
|
35 | + * @param string $path |
|
36 | + * @return string |
|
37 | + */ |
|
38 | + public function configPath($path = ''); |
|
39 | + |
|
40 | + /** |
|
41 | + * Get the path to the database directory. |
|
42 | + * |
|
43 | + * @param string $path |
|
44 | + * @return string |
|
45 | + */ |
|
46 | + public function databasePath($path = ''); |
|
47 | + |
|
48 | + /** |
|
49 | + * Get the path to the resources directory. |
|
50 | + * |
|
51 | + * @param string $path |
|
52 | + * @return string |
|
53 | + */ |
|
54 | + public function resourcePath($path = ''); |
|
55 | + |
|
56 | + /** |
|
57 | + * Get the path to the storage directory. |
|
58 | + * |
|
59 | + * @return string |
|
60 | + */ |
|
61 | + public function storagePath(); |
|
62 | + |
|
63 | + /** |
|
64 | + * Get or check the current application environment. |
|
65 | + * |
|
66 | + * @param string|array $environments |
|
67 | + * @return string|bool |
|
68 | + */ |
|
69 | + public function environment(...$environments); |
|
70 | + |
|
71 | + /** |
|
72 | + * Determine if the application is running in the console. |
|
73 | + * |
|
74 | + * @return bool |
|
75 | + */ |
|
76 | + public function runningInConsole(); |
|
77 | + |
|
78 | + /** |
|
79 | + * Determine if the application is running unit tests. |
|
80 | + * |
|
81 | + * @return bool |
|
82 | + */ |
|
83 | + public function runningUnitTests(); |
|
84 | + |
|
85 | + /** |
|
86 | + * Determine if the application is currently down for maintenance. |
|
87 | + * |
|
88 | + * @return bool |
|
89 | + */ |
|
90 | + public function isDownForMaintenance(); |
|
91 | + |
|
92 | + /** |
|
93 | + * Register all of the configured providers. |
|
94 | + * |
|
95 | + * @return void |
|
96 | + */ |
|
97 | + public function registerConfiguredProviders(); |
|
98 | + |
|
99 | + /** |
|
100 | + * Register a service provider with the application. |
|
101 | + * |
|
102 | + * @param \Illuminate\Support\ServiceProvider|string $provider |
|
103 | + * @param bool $force |
|
104 | + * @return \Illuminate\Support\ServiceProvider |
|
105 | + */ |
|
106 | + public function register($provider, $force = false); |
|
107 | + |
|
108 | + /** |
|
109 | + * Register a deferred provider and service. |
|
110 | + * |
|
111 | + * @param string $provider |
|
112 | + * @param string|null $service |
|
113 | + * @return void |
|
114 | + */ |
|
115 | + public function registerDeferredProvider($provider, $service = null); |
|
116 | + |
|
117 | + /** |
|
118 | + * Resolve a service provider instance from the class name. |
|
119 | + * |
|
120 | + * @param string $provider |
|
121 | + * @return \Illuminate\Support\ServiceProvider |
|
122 | + */ |
|
123 | + public function resolveProvider($provider); |
|
124 | + |
|
125 | + /** |
|
126 | + * Boot the application's service providers. |
|
127 | + * |
|
128 | + * @return void |
|
129 | + */ |
|
130 | + public function boot(); |
|
131 | + |
|
132 | + /** |
|
133 | + * Register a new boot listener. |
|
134 | + * |
|
135 | + * @param callable $callback |
|
136 | + * @return void |
|
137 | + */ |
|
138 | + public function booting($callback); |
|
139 | + |
|
140 | + /** |
|
141 | + * Register a new "booted" listener. |
|
142 | + * |
|
143 | + * @param callable $callback |
|
144 | + * @return void |
|
145 | + */ |
|
146 | + public function booted($callback); |
|
147 | + |
|
148 | + /** |
|
149 | + * Run the given array of bootstrap classes. |
|
150 | + * |
|
151 | + * @param array $bootstrappers |
|
152 | + * @return void |
|
153 | + */ |
|
154 | + public function bootstrapWith(array $bootstrappers); |
|
155 | + |
|
156 | + /** |
|
157 | + * Get the current application locale. |
|
158 | + * |
|
159 | + * @return string |
|
160 | + */ |
|
161 | + public function getLocale(); |
|
162 | + |
|
163 | + /** |
|
164 | + * Get the application namespace. |
|
165 | + * |
|
166 | + * @return string |
|
167 | + * |
|
168 | + * @throws \RuntimeException |
|
169 | + */ |
|
170 | + public function getNamespace(); |
|
171 | + |
|
172 | + /** |
|
173 | + * Get the registered service provider instances if any exist. |
|
174 | + * |
|
175 | + * @param \Illuminate\Support\ServiceProvider|string $provider |
|
176 | + * @return array |
|
177 | + */ |
|
178 | + public function getProviders($provider); |
|
179 | + |
|
180 | + /** |
|
181 | + * Determine if the application has been bootstrapped before. |
|
182 | + * |
|
183 | + * @return bool |
|
184 | + */ |
|
185 | + public function hasBeenBootstrapped(); |
|
186 | + |
|
187 | + /** |
|
188 | + * Load and boot all of the remaining deferred providers. |
|
189 | + * |
|
190 | + * @return void |
|
191 | + */ |
|
192 | + public function loadDeferredProviders(); |
|
193 | + |
|
194 | + /** |
|
195 | + * Set the current application locale. |
|
196 | + * |
|
197 | + * @param string $locale |
|
198 | + * @return void |
|
199 | + */ |
|
200 | + public function setLocale($locale); |
|
201 | + |
|
202 | + /** |
|
203 | + * Determine if middleware has been disabled for the application. |
|
204 | + * |
|
205 | + * @return bool |
|
206 | + */ |
|
207 | + public function shouldSkipMiddleware(); |
|
208 | + |
|
209 | + /** |
|
210 | + * Terminate the application. |
|
211 | + * |
|
212 | + * @return void |
|
213 | + */ |
|
214 | + public function terminate(); |
|
215 | 215 | } |
@@ -4,39 +4,39 @@ |
||
4 | 4 | |
5 | 5 | interface Hasher |
6 | 6 | { |
7 | - /** |
|
8 | - * Get information about the given hashed value. |
|
9 | - * |
|
10 | - * @param string $hashedValue |
|
11 | - * @return array |
|
12 | - */ |
|
13 | - public function info($hashedValue); |
|
7 | + /** |
|
8 | + * Get information about the given hashed value. |
|
9 | + * |
|
10 | + * @param string $hashedValue |
|
11 | + * @return array |
|
12 | + */ |
|
13 | + public function info($hashedValue); |
|
14 | 14 | |
15 | - /** |
|
16 | - * Hash the given value. |
|
17 | - * |
|
18 | - * @param string $value |
|
19 | - * @param array $options |
|
20 | - * @return string |
|
21 | - */ |
|
22 | - public function make($value, array $options = []); |
|
15 | + /** |
|
16 | + * Hash the given value. |
|
17 | + * |
|
18 | + * @param string $value |
|
19 | + * @param array $options |
|
20 | + * @return string |
|
21 | + */ |
|
22 | + public function make($value, array $options = []); |
|
23 | 23 | |
24 | - /** |
|
25 | - * Check the given plain value against a hash. |
|
26 | - * |
|
27 | - * @param string $value |
|
28 | - * @param string $hashedValue |
|
29 | - * @param array $options |
|
30 | - * @return bool |
|
31 | - */ |
|
32 | - public function check($value, $hashedValue, array $options = []); |
|
24 | + /** |
|
25 | + * Check the given plain value against a hash. |
|
26 | + * |
|
27 | + * @param string $value |
|
28 | + * @param string $hashedValue |
|
29 | + * @param array $options |
|
30 | + * @return bool |
|
31 | + */ |
|
32 | + public function check($value, $hashedValue, array $options = []); |
|
33 | 33 | |
34 | - /** |
|
35 | - * Check if the given hash has been hashed using the given options. |
|
36 | - * |
|
37 | - * @param string $hashedValue |
|
38 | - * @param array $options |
|
39 | - * @return bool |
|
40 | - */ |
|
41 | - public function needsRehash($hashedValue, array $options = []); |
|
34 | + /** |
|
35 | + * Check if the given hash has been hashed using the given options. |
|
36 | + * |
|
37 | + * @param string $hashedValue |
|
38 | + * @param array $options |
|
39 | + * @return bool |
|
40 | + */ |
|
41 | + public function needsRehash($hashedValue, array $options = []); |
|
42 | 42 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | interface Factory |
6 | 6 | { |
7 | - /** |
|
8 | - * Get a mailer instance by name. |
|
9 | - * |
|
10 | - * @param string|null $name |
|
11 | - * @return \Illuminate\Contracts\Mail\Mailer |
|
12 | - */ |
|
13 | - public function mailer($name = null); |
|
7 | + /** |
|
8 | + * Get a mailer instance by name. |
|
9 | + * |
|
10 | + * @param string|null $name |
|
11 | + * @return \Illuminate\Contracts\Mail\Mailer |
|
12 | + */ |
|
13 | + public function mailer($name = null); |
|
14 | 14 | } |
@@ -4,22 +4,22 @@ |
||
4 | 4 | |
5 | 5 | interface MailQueue |
6 | 6 | { |
7 | - /** |
|
8 | - * Queue a new e-mail message for sending. |
|
9 | - * |
|
10 | - * @param \Illuminate\Contracts\Mail\Mailable|string|array $view |
|
11 | - * @param string|null $queue |
|
12 | - * @return mixed |
|
13 | - */ |
|
14 | - public function queue($view, $queue = null); |
|
7 | + /** |
|
8 | + * Queue a new e-mail message for sending. |
|
9 | + * |
|
10 | + * @param \Illuminate\Contracts\Mail\Mailable|string|array $view |
|
11 | + * @param string|null $queue |
|
12 | + * @return mixed |
|
13 | + */ |
|
14 | + public function queue($view, $queue = null); |
|
15 | 15 | |
16 | - /** |
|
17 | - * Queue a new e-mail message for sending after (n) seconds. |
|
18 | - * |
|
19 | - * @param \DateTimeInterface|\DateInterval|int $delay |
|
20 | - * @param \Illuminate\Contracts\Mail\Mailable|string|array $view |
|
21 | - * @param string|null $queue |
|
22 | - * @return mixed |
|
23 | - */ |
|
24 | - public function later($delay, $view, $queue = null); |
|
16 | + /** |
|
17 | + * Queue a new e-mail message for sending after (n) seconds. |
|
18 | + * |
|
19 | + * @param \DateTimeInterface|\DateInterval|int $delay |
|
20 | + * @param \Illuminate\Contracts\Mail\Mailable|string|array $view |
|
21 | + * @param string|null $queue |
|
22 | + * @return mixed |
|
23 | + */ |
|
24 | + public function later($delay, $view, $queue = null); |
|
25 | 25 | } |