Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit f357969

Browse files
committed
Minor grammatical edits to entries affected by #258
1 parent 82209ed commit f357969

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/book/configuring-the-service-manager.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Service Manager component can be configured by passing an associative array
44
constructor. The following keys are:
55

66
- `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;
88
i.e., for services that do not require arguments to the constructor. The key and
99
service name usually are the same; if they are not, the key is treated as an alias.
1010
- `factories`: associative array that map a key to a factory name, or any callable.
@@ -17,9 +17,9 @@ constructor. The following keys are:
1717
- `lazy_services`: configuration for the lazy service proxy manager, and a class
1818
map of service:class pairs that will act as lazy services; see the
1919
[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.
2323
- `shared_by_default`: boolean that indicates whether services created through
2424
the `get` method should be cached. This is `true` by default.
2525

0 commit comments

Comments
 (0)