public function setCurrentUser($user)
 {
     if ($user instanceof UserInterface === false) {
         throw Exception::NotSupported();
     }
     $this->currentUser = $user;
 }