yii2 controllers e2: controller life cycle, events – yii2 tutorials | Part 5In the following video, we will understand the life cycle of the controller and its events.
We will see how to attach an event listener to controller and how to change the layout for particular actions. We will also understand how to do some actions on controller before action and after action.
Official Documentation about controllers
Check my other videos about yii2 framework
Getting started with yii2 framework:
Yii2 Crash course:
Building a REST API using yii2.
Check my Github: