public function discoverTv(DiscoverTvQuery $query, array $headers = [])
    {
        $data = $this->getApi()->discoverTv($query->toArray(), $headers);

        return $this->getTvFactory()->createResultCollection($data);
    }
public function discoverTv(DiscoverTvQuery $query, array $headers = [])
    {
        $data = $this->getApi()->discoverTv($query->toArray(), $headers);

        return $this->getTvFactory()->createResultCollection($data);
    }
public function discoverTv ( DiscoverTvQuery $ query , array $ headers = [ ] ) { $ data = $ this -> getApi ( ) -> discoverTv ( $ query -> toArray ( ) , $ headers ) ; return $ this -> getTvFactory ( ) -> createResultCollection ( $ data ) ; }
Discover TV shows by different types of data like average rating,
number of votes, genres, the network they aired on and air dates.

@param  DiscoverTvQuery $query
@param  array           $headers
@return Tv[]
Discover TV shows by different types of data like average rating number of votes genres the network they aired on and air dates .