43 Commits

Author SHA1 Message Date
7c26670f4d Fixed several typos and grammar errors (#19639) 2022-10-22 15:35:53 +02:00
4604206bfb Switch from swiftmailer to symfonymailer in examples & tutorials (#19582) 2022-09-19 22:04:22 +03:00
9bcc8c8e83 update links (en) (#19222)
Co-authored-by: Bizley <pawel@positive.codes>
2022-02-12 17:43:48 +01:00
95c2d214d9 Fixed typo in di container guide 2021-02-02 22:48:07 +03:00
1d514e2ded Revert "Fix anchors in docs (#18344)"
This reverts commit 0f4b147352f2524f2a1530d419d13a8c8acd5069.
2020-11-05 14:14:35 +03:00
0f4b147352 Fix anchors in docs (#18344) 2020-11-01 17:51:16 +03:00
23cfb38cea Fix #18285: Enhanced DI container to allow passing parameters by name in constructor 2020-11-01 00:31:27 +03:00
Sam
4ea484ca68 Fix #17722: Add action injection support 2020-06-12 10:06:18 +03:00
da626f507f Fix #17607: Added Yii version 3 DI config compatibility
- Allow `__class` and `__construct()` in configurations
- Allow wider use of `Instance::of`
- Allow static call DI definition like: `[SomeFactory::class, 'createMethod']`
- Add support for `__class` in `createObject`
2019-10-17 14:01:00 +03:00
7341793522 guide/concept-di-container.md typo fixed [ci skip] 2018-04-24 13:07:27 +09:00
a6e8bae49f Add signature of callable in DI (#15369) [skip ci] 2017-12-15 18:44:06 +03:00
3c8b62b32d Added missing quote in the documentation [skip ci] 2017-10-19 12:43:47 +03:00
9923abda28 Fixed typo __contruct -> __construct (#14574) [skip ci] 2017-08-02 13:21:19 +03:00
5b2101f14c Update guide: Object -> BaseObject
issue #7936
2017-07-19 10:51:46 +02:00
bf13f01b85 fixed some guide issues 2017-02-10 23:30:53 +01:00
4f59ec2f5b Update concept-di-container.md 2017-01-06 13:57:49 +01:00
b37598d0ee docs/guide/concept-di-container.md typo fix (#13331) [skip ci] 2017-01-06 08:14:20 +03:00
1bcdcdefc8 fixes typos in docs/guide/concept-di-container.md [ci skip] (#13330) 2017-01-05 18:41:18 +03:00
9c1f892ecf Update concept-di-container.md
put code block into the list
2016-12-05 12:57:33 +01:00
72532fe910 Fixed code formatting in concept-di-container.md [skip-ci] (#13136) 2016-12-05 13:54:01 +03:00
437825be70 Implemented Container::setDependencies(), Container::setDefinitions
Closes #11758
Closes #13029
2016-12-02 15:08:24 +02:00
0ac161b69d fix mistake in dependency injection section of documentation (#12066) 2016-08-03 11:52:27 +02:00
1423e34131 documentation about method injection
fixes #11565
2016-07-11 15:24:48 +02:00
315d730b47 Fixes #6922: Added note about overriding widget options specified via DI container 2016-04-30 21:44:49 +03:00
357845ac31 Removed controller action injection from the list of features in the guide and translations 2016-02-07 12:10:30 +03:00
42b8569846 Revert DI injection via controller action method signature
reverts b7020065c and related commits.
reverts implementation of #9476

For reasons, see discussion https://github.com/yiisoft/yii2/issues/9476#issuecomment-179749039
2016-02-06 18:40:50 +01:00
f3fddb2993 Russian translation fixes and updates [skip ci] 2015-10-27 12:49:05 +03:00
e1112a2395 reverted to "controller action injection" [ci skip] 2015-09-30 06:07:14 +09:00
261b987bef typo [ci skip] 2015-09-29 21:58:11 +09:00
ad8aa333c9 docs/guide/concept-di-container.md revised [ci skip] 2015-09-29 21:53:57 +09:00
b7020065c8 Fixes #9476: Added DI injection via controller action method signature 2015-09-27 19:35:43 +03:00
112fc83f27 Fixes #9331: betted PHP Callable Injection example 2015-09-05 01:53:20 +03:00
7c4c32978d give Mr. Fowler his full name
It seems a little disrespectful to assume that we are all on first-name terms with Mr. Fowler.
2015-08-02 11:52:24 -04:00
77c1fcf7c4 DI object creation with constructor arguments example fixed 2015-07-18 14:39:25 +03:00
e279c13d6f Variable was being enclosed in an array in comparison example 2015-07-17 16:48:48 -07:00
f11bdfa2a7 Grammar fix: followings -> following 2015-04-21 15:08:16 +02:00
1088fd496d Added support to yii\di\Container to instantiate and configure an object that implements yii\base\Configurable. 2015-02-19 22:46:49 -05:00
0b135e7596 doc improvement [skip ci] 2015-02-18 20:52:21 -05:00
36bebbfefb use id instead of name for anchor references in the guide
fixes #7013
2015-01-25 22:13:16 +01:00
9c4d4715dd guide WIP [skip ci] 2014-07-03 08:33:09 -04:00
b80c0c3bc0 guide WIP [skip ci] 2014-05-10 21:22:01 -04:00
135b944c14 Finished guide about DI container and service locator. 2014-05-04 13:12:20 -04:00
56c46f6221 renamed basic concept chapter names. 2014-05-03 09:10:32 -04:00