public function getUser(string $userid)
    {
        $cl = $this->getUserClass();
        $user = new $cl;
        return $user->obtainByUserID($userid);
    }
public function getUser(string $userid)
    {
        $cl = $this->getUserClass();
        $user = new $cl;
        return $user->obtainByUserID($userid);
    }
public function getUser ( string $ userid ) { $ cl = $ this -> getUserClass ( ) ; $ user = new $ cl ; return $ user -> obtainByUserID ( $ userid ) ; }
Obtain a user by its user ID.
@param string $userID The User ID to load
@return Wedeto\Auth\UserInterface The user
@throws Wedeto\Auth\NotFoundException When the user does not exist
Obtain a user by its user ID .