@@ -291,6 +291,8 @@ that follows these best practices:
291
291
292
292
.. tip ::
293
293
294
+ Symfony 2.6 以上のバージョンを利用している場合は、``AppBundle `` は既に生成されています。
295
+ それよりも古いバージョンの場合は、以下のコマンドで生成することができます。
294
296
If you are using Symfony 2.6 or a newer version, the ``AppBundle `` bundle
295
297
is already generated for you. If you are using an older Symfony version,
296
298
you can generate it by hand executing this command:
@@ -299,13 +301,20 @@ that follows these best practices:
299
301
300
302
$ php app/console generate:bundle --namespace=AppBundle --dir=src --format=annotation --no-interaction
301
303
304
+ ディレクトリ構成の拡張
302
305
Extending the Directory Structure
303
306
---------------------------------
304
307
308
+ プロジェクトや基盤構造で Symfony のデフォルトのディレクトリ構成からいくつかの変更が必要になった場合は、
309
+ ``cache/ ``、``logs/ ``、``web/ `` といったメインのディレクトリの場所を変更することができます。
310
+
305
311
If your project or infrastructure requires some changes to the default directory
306
312
structure of Symfony, you can `override the location of the main directories `_:
307
313
``cache/ ``, ``logs/ `` and ``web/ ``.
308
314
315
+ さらに、Symfony3 がリリースされるときには、
316
+ わずかに異なるディレクトリ構成となるでしょう。
317
+
309
318
In addition, Symfony3 will use a slightly different directory structure when
310
319
it's released:
311
320
@@ -324,6 +333,8 @@ it's released:
324
333
├─ vendor/
325
334
└─ web/
326
335
336
+ これは大きな変化ですが、現時点では Symfony2 のディレクトリ構成を使うことを推奨します。
337
+
327
338
The changes are pretty superficial, but for now, we recommend that you use
328
339
the Symfony2 directory structure.
329
340
0 commit comments