In Russian documentation
only specifies that nested templates are used within templates.
Sometimes you need to nest one layout in another.
Using the above approach, you can put templates into each other at several levels.
In fact, it is possible and to use this connection method — it works.
// View file @app/views/design/index.php
/* @var $this yii\web\View */
<?php $this--->beginContent('@app/views/design/file.php') ?>
<?php $this--->endContent() ?>
About the yii\web\View::render()
and other ways to connect a view within another view I know, but exactly this moment.