diff --git a/lib/Tmdb/Model/Tv.php b/lib/Tmdb/Model/Tv.php index 062ef652..8040a455 100644 --- a/lib/Tmdb/Model/Tv.php +++ b/lib/Tmdb/Model/Tv.php @@ -40,6 +40,7 @@ class Tv extends AbstractModel * @var array */ public static $properties = [ + 'adult', 'backdrop_path', 'episode_run_time', 'first_air_date', @@ -242,6 +243,10 @@ class Tv extends AbstractModel * @var GenericCollection */ protected $episodeGroups; + /** + * @var bool + */ + private $adult = false; /** * Constructor @@ -1093,4 +1098,20 @@ public function setEpisodeGroups(GenericCollection $episodeGroups): Tv return $this; } + + /** + * @return bool + */ + public function getAdult(): bool + { + return $this->adult; + } + + /** + * @param bool $adult + */ + public function setAdult(bool $adult): void + { + $this->adult = $adult; + } }