movieInfo(identifier) {
    const query = { id: identifier };
    const cacheKey = `tmdb/${this.cacheTags.movieInfo}:${identifier}`;

    return this.getFromCacheOrFetchFromTmdb(cacheKey, 'movieInfo', query)
      .then(movie => this.cache.set(cacheKey, movie, this.defaultTTL))
      .then(movie => Movie.convertFromTmdbResponse(movie))
  }
/**
   * Retrieve a specific movie by id from TMDB.
   * @param {Number} identifier of the movie you want to retrieve
   * @param {Boolean} add credits (cast & crew) for movie
   * @param {Boolean} add release dates for every country
   * @returns {Promise} succeeds if movie was found
   */
Retrieve a specific movie by id from TMDB.
@param {Number} identifier of the movie you want to retrieve
@param {Boolean} add credits (cast & crew) for movie
@param {Boolean} add release dates for every country
@returns {Promise} succeeds if movie was found
Retrieve a specific movie by id from TMDB . @param { Number } identifier of the movie you want to retrieve @param { Boolean } add credits ( cast & crew ) for movie @param { Boolean } add release dates for every country @returns { Promise } succeeds if movie was found
movieInfo(identifier) {
    const query = { id: identifier };
    const cacheKey = `tmdb/${this.cacheTags.movieInfo}:${identifier}`;
    return this.getFromCacheOrFetchFromTmdb(cacheKey, 'movieInfo', query)
      .then(movie => this.cache.set(cacheKey, movie, this.defaultTTL))
      .then(movie => Movie.convertFromTmdbResponse(movie))
  }
movieInfo ( identifier ) { const query = { id : identifier } ; const cacheKey = ` ${ this . cacheTags . movieInfo } ${ identifier } ` ; return this . getFromCacheOrFetchFromTmdb ( cacheKey , 'movieInfo' , query ) . then ( movie => this . cache . set ( cacheKey , movie , this . defaultTTL ) ) . then ( movie => Movie . convertFromTmdbResponse ( movie ) ) }
Retrieve a specific movie by id from TMDB.
Retrieve a specific movie by id from TMDB .