where(['user_id' => Yii::$app->user->getId()]); return Helper::index($query); } /** * @return array|Comment|null * @throws yii\base\Exception * @throws yii\web\BadRequestHttpException * @throws yii\web\NotFoundHttpException * @throws yii\web\ServerErrorHttpException */ public function actionCreate() { return $this->object->create(); } }