Skip to content

Commit 8a91134

Browse files
authored
Merge pull request #7323 from yuuta-matsumoto/update/doc_about_application
Update document about application
2 parents e056de5 + 05aabd8 commit 8a91134

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

ja/development/application.rst

+4-7
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@
2727
Application::bootstrap()
2828
------------------------
2929

30-
In addition to the **config/bootstrap.php** file which should be used to
31-
configure low-level concerns of your application, you can also use the
32-
``Application::bootstrap()`` hook method to load/initialize plugins, and attach
33-
global event listeners::
30+
アプリケーションの低レベルな関心事を設定するために使用する **config/bootstrap.php** ファイルに加えて、
31+
プラグインのロードや初期化、グローバルイベントリスナーの追加のために ``Application::bootstrap()`` フックメソッドが利用できます::
3432

3533
// in src/Application.php
3634
namespace App;
@@ -49,9 +47,8 @@ global event listeners::
4947
}
5048
}
5149

52-
Loading plugins and events in ``Application::bootstrap()`` makes
53-
:ref:`integration-testing` easier as events and routes will be re-processed on
54-
each test method.
50+
``Application::bootstrap()`` でプラグインとイベントをロードすると、イベントとルートが各テストメソッドで再処理されるので、
51+
:ref:`integration-testing` が簡単になります。
5552

5653
.. meta::
5754
:title lang=en: CakePHP Application

0 commit comments

Comments
 (0)