Skip to content

Commit 52c22bd

Browse files
committed
Add comments
1 parent b623974 commit 52c22bd

File tree

1 file changed

+7
-0
lines changed
  • symfony/framework-bundle/3.3/etc/packages

1 file changed

+7
-0
lines changed

symfony/framework-bundle/3.3/etc/packages/app.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
services:
2+
# default configuration for services in *this* file
23
_defaults:
4+
# automatically injects dependencies in your services
35
autowire: true
6+
# automatically registers your services as commands, form types, etc.
47
autoconfigure: true
8+
# this means you cannot fetch services directly from the container via $container->get()
9+
# if you need to do this, you can override this setting on individual services
510
public: false
611

12+
# loads services from whatever directories you want (you can add directories!)
13+
# this creates a service per class whose id is the fully-qualified class name
714
App\:
815
resource: '../../src/{Command,Form,EventSubscriber,Twig,Security}'
916

0 commit comments

Comments
 (0)