Skip to content

Commit

Permalink
Merge pull request #95 from actioussan/patch-2
Browse files Browse the repository at this point in the history
Add: Support for Season Images
  • Loading branch information
wtfzdotnet committed Jul 22, 2015
2 parents d76cef3 + 31b98dc commit 4150d71
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/Tmdb/Factory/ImageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ public function createMediaImage(array $data = [])
case "tv":
$factory = new TvFactory($this->getHttpClient());
break;


case "season":
$factory = new TvSeasonFactory($this->getHttpClient());
break;

// I don't think this ever occurs, but just in case..
case "episode":
$factory = new TvEpisodeFactory($this->getHttpClient());
Expand Down

0 comments on commit 4150d71

Please sign in to comment.