yii2 class configuration - yii2 tutorials | part 13

preview_player
Показать описание
The video covers the following topics:

The template of the configuration array in yii2 framework.
How to create objects using Yii::createObject() method.
How to configure existing component with configuration array.
How to set default values on classes which will be used during configuration.

----------------------------------------------------------------------------------
Check my other videos about yii2 framework
----------------------------------------------------------------------------------

Check my Github:

Follow me on social media:
Рекомендации по теме
Комментарии
Автор

Excellent, this is something that I have never used, like the injection of dependencies, it is a subject that I would like to know. If at any time you have planned to explain it would be great. But go ahead the same! Regards!

NicoILeone
Автор

sir please upload next videos.. how to register user and login

bigbang
Автор

I'm new to yii2 sir. I'm curious about the diff. of using : new TimelineComponent(); with createobject, or what's the advantage when creating instance using new and using createobject.

joerodrigo