Different Filenames and Class names

I am trying to get mt controllers to load the same or similar to opencart

Where it just has for example

Home.php for the filename

And then for class would look like the code below but where Common in the class is the sub folder. controllers > common > Home.php

Is this possible in yii


namespace app\controllers\common;

use Yii;

use yii\web\Controller;

class HomeCommonController extends Controller {

public function actionIndex()


    echo &quot;From the Common Home&quot;;



This might help you: http://www.yiiframework.com/doc-2.0/guide-runtime-routing.html#routing