The View component responsible for making the output for the web application clients is one of application components configurable through the application config in the
components.view key. To learn the complete list of parameters, you can either look at the documentation about the
yii\web\View class or just take a look at its source code, as the documentation is autogenerated from the comments in the source code anyway.
View, being an application component, allows you to execute the following:
Controller class has a wrapper method that abstracts the View component a bit:
However, the controller doesn't just wrap the call to the View component. ...