Browse Source

docs/guide/concept-service-locator.md - missing closing paren [ci skip]

tags/2.0.3
Nobuo Kihara 10 years ago
parent
commit
b40f4261b6
  1. 2
      docs/guide/concept-service-locator.md

2
docs/guide/concept-service-locator.md

@ -63,7 +63,7 @@ If you call [[yii\di\ServiceLocator::get()]] with an invalid ID, an exception wi
Because service locators are often being created with [configurations](concept-configurations.md), Because service locators are often being created with [configurations](concept-configurations.md),
a writable property named [[yii\di\ServiceLocator::setComponents()|components]] is provided. This allows you a writable property named [[yii\di\ServiceLocator::setComponents()|components]] is provided. This allows you
to configure and register multiple components at once. The following code shows a configuration array to configure and register multiple components at once. The following code shows a configuration array
that can be used to configure a service locator (e.g. an [application](structure-applications.md) with that can be used to configure a service locator (e.g. an [application](structure-applications.md)) with
the "db", "cache" and "search" components: the "db", "cache" and "search" components:
```php ```php

Loading…
Cancel
Save