Understand how does yii2. In the controller directory there is a file SiteController.php I understand it is the main controller that manages the models and vyuha (how it works is still not entirely understood, because little is familiar with Paterno MVC and this is my first framework), so that's why in this file SiteController.php there is a class "SiteController" which inherits from "Controller", except class "SiteController" is not the main? Why it inherits the "Controller" ? And I can't find the class "Controller" in any of the file( revised repeatedly all directories and file). Maybe someone will advise, in General, and in General work with it and mvc. ?
Stop already programmed in the editor, if the life associated with programming. Of course, there are good editors with good plug-in ecosystem, but the IDE usually everything you need comes out of the box, which is a plus for a beginner.