From dc8b065c2b9fde424c9d8224f6e28a374467413b Mon Sep 17 00:00:00 2001 From: Christopher Vrooman Date: Fri, 21 Nov 2014 12:53:10 -0300 Subject: [PATCH] Update concept-service-locator.md Minor syntax changes. --- docs/guide/concept-service-locator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/concept-service-locator.md b/docs/guide/concept-service-locator.md index ab449f85ff..1256391adb 100644 --- a/docs/guide/concept-service-locator.md +++ b/docs/guide/concept-service-locator.md @@ -5,7 +5,7 @@ A service locator is an object that knows how to provide all sorts of services ( might need. Within a service locator, each component exists as only a single instance, uniquely identified by an ID. You use the ID to retrieve a component from the service locator. -In Yii, a service locator is simply an instance of [[yii\di\ServiceLocator]], or from a child class. +In Yii, a service locator is simply an instance of [[yii\di\ServiceLocator]] or a child class. The most commonly used service locator in Yii is the *application* object, which can be accessed through `\Yii::$app`. The services it provides are called *application components*, such as the `request`, `response`, and