public function getUser(string $id): User
    {
        @trigger_error(sprintf('The %s() method is deprecated since version 0.8. Use get() instead.', __METHOD__), E_USER_DEPRECATED);

        return $this->get($id);
    }
public function getUser(string $id): User
    {
        @trigger_error(sprintf('The %s() method is deprecated since version 0.8. Use get() instead.', __METHOD__), E_USER_DEPRECATED);

        return $this->get($id);
    }
public function getUser ( string $ id ) : User { @ trigger_error ( sprintf ( 'The %s() method is deprecated since version 0.8. Use get() instead.' , __METHOD__ ) , E_USER_DEPRECATED ) ; return $ this -> get ( $ id ) ; }
Gets the information about the user that matches the given ID.

@param string $id The ID of the user

@return User

@deprecated since version 0.8, to be removed in 0.9. Use get() instead
Gets the information about the user that matches the given ID .