@@ -378,7 +378,7 @@ Say we work on API application and have:
378
378
- ` app\components\Request ` class that extends ` yii\web\Request ` and provides additional functionality
379
379
- ` app\components\Response ` class that extends ` yii\web\Response ` and should have ` format ` property
380
380
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
382
382
working with documents that are located in some file storage:
383
383
384
384
``` php
@@ -430,7 +430,7 @@ $reader = $container->get('app\storage\DocumentsReader);
430
430
```
431
431
432
432
> 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
434
434
the [ Configurations] ( concept-configurations.md ) guide article.
435
435
436
436
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
512
512
as early as possible. The following are the recommended practices:
513
513
514
514
* 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
516
516
the [ Configurations] ( concept-configurations.md ) guide article.
517
517
* If you are the developer of a redistributable [ extension] ( structure-extensions.md ) , you can register dependencies
518
518
in the bootstrapping class of the extension.
0 commit comments