SiteController.php 200 Bytes
<?php

namespace app\controllers;

use yii\web\Controller;

class SiteController extends Controller
{
	public $defaultAction = 'hello';

	public function actionHello()
	{
		return 'hello world';
	}
}