コード例 #1
0
 public function getUserSessions()
 {
     return $this->hasMany(UserSession::className(), ['session_id' => 'id']);
 }