SiteController.php 200 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <?php namespace app\controllers; use yii\web\Controller; class SiteController extends Controller { public $defaultAction = 'hello'; public function actionHello() { return 'hello world'; } }