/** * Renders a list of users. */ public function actionIndex() { $dataProvider = new ActiveDataProvider(['query' => User::find()]); return $this->render('index', ['dataProvider' => $dataProvider, 'model' => $this->getModel()]); }