Skip to content

Commit 1bcdcde

Browse files
softarksamdark
authored andcommittedJan 5, 2017
fixes typos in docs/guide/concept-di-container.md [ci skip] (yiisoft#13330)
1 parent a232c74 commit 1bcdcde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎docs/guide/concept-di-container.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ Say we work on API application and have:
378378
- `app\components\Request` class that extends `yii\web\Request` and provides additional functionality
379379
- `app\components\Response` class that extends `yii\web\Response` and should have `format` property
380380
set to `json` on creation
381-
- `app\storage\FileStorage` and `app\storage\DocumentsReader` classes the implement some logic on
381+
- `app\storage\FileStorage` and `app\storage\DocumentsReader` classes that implement some logic on
382382
working with documents that are located in some file storage:
383383

384384
```php
@@ -430,7 +430,7 @@ $reader = $container->get('app\storage\DocumentsReader);
430430
```
431431

432432
> Tip: Container may be configured in declarative style using application configuration since version 2.0.11.
433-
Check out the [Application Configurations](concept-service-locator.md#application-configurations) subsection of
433+
Check out the [Application Configurations](concept-configurations.md#application-configurations) subsection of
434434
the [Configurations](concept-configurations.md) guide article.
435435

436436
Everything works, but in case we need to create create `DocumentWriter` class,
@@ -512,7 +512,7 @@ Because dependencies are needed when new objects are being created, their regist
512512
as early as possible. The following are the recommended practices:
513513

514514
* If you are the developer of an application, you can register your dependencies using application configuration.
515-
Please, read the [Application Configurations](concept-service-locator.md#application-configurations) subsection of
515+
Please, read the [Application Configurations](concept-configurations.md#application-configurations) subsection of
516516
the [Configurations](concept-configurations.md) guide article.
517517
* If you are the developer of a redistributable [extension](structure-extensions.md), you can register dependencies
518518
in the bootstrapping class of the extension.

0 commit comments

Comments
 (0)
Please sign in to comment.