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
<?php
namespace app\controllers\common;
use Yii;
use yii\web\Controller;
class HomeCommonController extends Controller {
public function actionIndex()
{
echo "From the Common Home";
}
}