| 1 | <?php  | 
            ||
| 7 | class Catalog  | 
            ||
| 8 | { | 
            ||
| 9 | |||
| 10 | private $tmdb = null;  | 
            ||
| 11 | |||
| 12 | /**  | 
            ||
| 13 | * Constructor  | 
            ||
| 14 | * @param \vfalies\tmdb\Tmdb $tmdb  | 
            ||
| 15 | */  | 
            ||
| 16 | 5 | public function __construct(Tmdb $tmdb)  | 
            |
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * Get movie genres list  | 
            ||
| 23 | * @param array $options  | 
            ||
| 24 | * @return \Generator  | 
            ||
| 25 | */  | 
            ||
| 26 | 3 | public function getMovieGenres(array $options = array()): \Generator  | 
            |
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * Get TVShow genres list  | 
            ||
| 34 | * @param array $options  | 
            ||
| 35 | * @return \Generator  | 
            ||
| 36 | */  | 
            ||
| 37 | 2 | public function getTVShowGenres(array $options = array()): \Generator  | 
            |
| 42 | }  | 
            ||
| 43 |