We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2a56ee + 631881e commit 25bf656Copy full SHA for 25bf656
lib/Tmdb/Factory/MovieFactory.php
@@ -193,6 +193,10 @@ public function create(array $data = [])
193
$movie->setSimilar($this->createResultCollection($data['similar']));
194
}
195
196
+ if (array_key_exists('recommendations', $data)) {
197
+ $movie->setRecommendations($this->createResultCollection($data['recommendations']));
198
+ }
199
+
200
if (array_key_exists('reviews', $data)) {
201
$movie->setReviews($this->getReviewFactory()->createResultCollection($data['reviews']));
202
0 commit comments