@@ -4,7 +4,7 @@ The Service Manager component can be configured by passing an associative array
4
4
constructor. The following keys are:
5
5
6
6
- ` services ` : associative array that maps a key to a service instance.
7
- - ` invokables ` : an associative array that map a key to a constructor-less service;
7
+ - ` invokables ` : an associative array that maps a key to a constructor-less service;
8
8
i.e., for services that do not require arguments to the constructor. The key and
9
9
service name usually are the same; if they are not, the key is treated as an alias.
10
10
- ` factories ` : associative array that map a key to a factory name, or any callable.
@@ -17,9 +17,9 @@ constructor. The following keys are:
17
17
- ` lazy_services ` : configuration for the lazy service proxy manager, and a class
18
18
map of service: class pairs that will act as lazy services; see the
19
19
[ lazy services documentation] ( lazy-services.md ) for more details.
20
- - ` shared ` : associative array that map a service name to a boolean, in order to
21
- indicate the service manager if it should cache or not a service created
22
- through the ` get ` method, independent of the ` shared_by_default ` setting.
20
+ - ` shared ` : associative array that maps a service name to a boolean, in order to
21
+ indicate to the service manager whether or not it should cache services it
22
+ creates via ` get ` method, independent of the ` shared_by_default ` setting.
23
23
- ` shared_by_default ` : boolean that indicates whether services created through
24
24
the ` get ` method should be cached. This is ` true ` by default.
25
25
0 commit comments