public function load($id, array $parameters = [], array $headers = [])
    {
        if (!isset($parameters['append_to_response'])) {
            $parameters = array_merge($parameters, [
                new AppendToResponse([
                    AppendToResponse::ALTERNATIVE_TITLES,
                    AppendToResponse::CHANGES,
                    AppendToResponse::CREDITS,
                    AppendToResponse::IMAGES,
                    AppendToResponse::KEYWORDS,
                    AppendToResponse::LISTS,
                    AppendToResponse::RELEASE_DATES,
                    AppendToResponse::REVIEWS,
                    AppendToResponse::SIMILAR,
                    AppendToResponse::RECOMMENDATIONS,
                    AppendToResponse::TRANSLATIONS,
                    AppendToResponse::VIDEOS,
                ])
            ]);
        }

        $data = $this->getApi()->getMovie($id, $this->parseQueryParameters($parameters), $headers);

        return $this->getFactory()->create($data);
    }
public function load($id, array $parameters = [], array $headers = [])
    {
        if (!isset($parameters['append_to_response'])) {
            $parameters = array_merge($parameters, [
                new AppendToResponse([
                    AppendToResponse::ALTERNATIVE_TITLES,
                    AppendToResponse::CHANGES,
                    AppendToResponse::CREDITS,
                    AppendToResponse::IMAGES,
                    AppendToResponse::KEYWORDS,
                    AppendToResponse::LISTS,
                    AppendToResponse::RELEASE_DATES,
                    AppendToResponse::REVIEWS,
                    AppendToResponse::SIMILAR,
                    AppendToResponse::RECOMMENDATIONS,
                    AppendToResponse::TRANSLATIONS,
                    AppendToResponse::VIDEOS,
                ])
            ]);
        }

        $data = $this->getApi()->getMovie($id, $this->parseQueryParameters($parameters), $headers);

        return $this->getFactory()->create($data);
    }
public function load ( $ id , array $ parameters = [ ] , array $ headers = [ ] ) { if ( ! isset ( $ parameters [ 'append_to_response' ] ) ) { $ parameters = array_merge ( $ parameters , [ new AppendToResponse ( [ AppendToResponse :: ALTERNATIVE_TITLES , AppendToResponse :: CHANGES , AppendToResponse :: CREDITS , AppendToResponse :: IMAGES , AppendToResponse :: KEYWORDS , AppendToResponse :: LISTS , AppendToResponse :: RELEASE_DATES , AppendToResponse :: REVIEWS , AppendToResponse :: SIMILAR , AppendToResponse :: RECOMMENDATIONS , AppendToResponse :: TRANSLATIONS , AppendToResponse :: VIDEOS , ] ) ] ) ; } $ data = $ this -> getApi ( ) -> getMovie ( $ id , $ this -> parseQueryParameters ( $ parameters ) , $ headers ) ; return $ this -> getFactory ( ) -> create ( $ data ) ; }
Load a movie with the given identifier

If you want to optimize the result set/bandwidth you
should define the AppendToResponse parameter

@param $id
@param $parameters
@param $headers
@return null|\Tmdb\Model\AbstractModel
Load a movie with the given identifier