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