public function getPersonalLibraryForUser(): Library
    {
        try {
            $library = LibraryFactory::createFromAPIResponse($this->client->getUserPersonalLibrary());
        } catch (ClientException $ce) {
            $response = $ce->getResponse();

            throw ExceptionFactory::create($response, $ce);
        }

        return $library;
    }
public function getPersonalLibraryForUser(): Library
    {
        try {
            $library = LibraryFactory::createFromAPIResponse($this->client->getUserPersonalLibrary());
        } catch (ClientException $ce) {
            $response = $ce->getResponse();

            throw ExceptionFactory::create($response, $ce);
        }

        return $library;
    }
public function getPersonalLibraryForUser ( ) : Library { try { $ library = LibraryFactory :: createFromAPIResponse ( $ this -> client -> getUserPersonalLibrary ( ) ) ; } catch ( ClientException $ ce ) { $ response = $ ce -> getResponse ( ) ; throw ExceptionFactory :: create ( $ response , $ ce ) ; } return $ library ; }
Get the user's personal library.

@return Library

@throws MoovlyException
Get the user s personal library .