You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively, Laravel offers a cache-based method for handling maintenance mode. This method requires running the `php artisan down` command on just one server. To use this approach, modify the "driver" setting in the `config/app.php` file of your application to `cache`. Then, select a cache `store` that is accessible by all your servers. This ensures the maintenance mode status is consistently maintained across every server:
Since maintenance mode requires your application to have several seconds of downtime, consider running your applications on a fully-managed platform like [Laravel Cloud](https://cloud.laravel.com) to accomplish zero-downtime deployment with Laravel.
Copy file name to clipboardexpand all lines: translation-ja/container.md
+13-13
Original file line number
Diff line number
Diff line change
@@ -38,14 +38,14 @@ use Illuminate\View\View;
38
38
class PodcastController extends Controller
39
39
{
40
40
/**
41
-
* Create a new controller instance.
41
+
* 新しいコントローラインスタンスの生成
42
42
*/
43
43
public function __construct(
44
44
protected AppleMusic $apple,
45
45
) {}
46
46
47
47
/**
48
-
* Show information about the given podcast.
48
+
* 指定ポッドキャストの情報を表示
49
49
*/
50
50
public function show(string $id): View
51
51
{
@@ -144,7 +144,7 @@ $this->app->bindIf(Transistor::class, function (Application $app) {
144
144
});
145
145
```
146
146
147
-
For convenience, you may omit providing the class or interface name that you wish to register as a separate argument and instead allow Laravel to infer the type from the return type of the closure you provide to the `bind` method:
0 commit comments