public function actionStatic() { $test = new UserTest(); echo $test->s(); $t = new UserTest(); echo $t->s(); echo $test->s(); }
/** * */ public function actionTry() { UserTest::one(); echo '控制器了!'; }