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

Commit c7a9c25

Browse files
committed
Merge branch 'feature/spelling' of https://github.com/ka7/zend-servicemanager into feature/189
2 parents 2068505 + 32d5f5d commit c7a9c25

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ constructor. The following keys are:
1313
- `initializers`: a list of callable or initializers that are run whenever a service has been created.
1414
- `shared`: associative array that map a service name to a boolean, in order to
1515
indicate the service manager if it should cache or not a service created
16-
through the `get` method, independant of the `shared_by_default` setting.
16+
through the `get` method, independent of the `shared_by_default` setting.
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.
@@ -423,7 +423,7 @@ So far, we have covered examples where services are created through factories
423423
Occasionally you may need to pass additional options that act as a "context".
424424
For instance, we could have a `StringLengthValidator` service registered.
425425
However, this validator can have multiple options, such as `min` and `max`.
426-
Because this is dependant on the caller context (or might even be retrieved
426+
Because this is dependent on the caller context (or might even be retrieved
427427
from a database, for instance), the factory cannot know what options to give
428428
when constructing the validator.
429429

doc/book/cookbook/factories-vs-abstract-factories.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ This means, internally:
5757
- a hash table lookup (for the abstract factory)
5858
- invocation of 1:N methods for discovery
5959
- which may contain additional lookups and/or retrievals in the container
60-
- invocation of a factory method (assuming succesful lookup)
60+
- invocation of a factory method (assuming successful lookup)
6161

6262
As such, having an explicit map can aid performance dramatically.
6363

0 commit comments

Comments
 (0)