创建控制器
~~~
<?php
namespace app\controllers;
use yii\web\Controller;
class TestController extends Controller
{
public function actionA(){
echo "index/index";
return $this->render('a');
}
}
~~~
~~~
> 视图模板路径
view --- test ----a.php
~~~