/** * @return type */ public function getHttpSessions() { return $this->hasMany(\humhub\modules\user\models\Session::className(), ['user_id' => 'id']); }