1 | <?php declare(strict_types = 1); |
||
27 | class Catalog |
||
28 | { |
||
29 | /** |
||
30 | * Tmdb object |
||
31 | * @var TmdbInterface |
||
32 | */ |
||
33 | private $tmdb = null; |
||
34 | /** |
||
35 | * Logger |
||
36 | * @var \Psr\Log\LoggerInterface |
||
37 | */ |
||
38 | private $logger = null; |
||
39 | |||
40 | /** |
||
41 | * Constructor |
||
42 | * @param TmdbInterface $tmdb |
||
43 | */ |
||
44 | 7 | public function __construct(TmdbInterface $tmdb) |
|
49 | |||
50 | /** |
||
51 | * Get movie genres list |
||
52 | * @param array $options |
||
53 | * @return \Generator |
||
54 | */ |
||
55 | 3 | public function getMovieGenres(array $options = array()) : \Generator |
|
61 | |||
62 | /** |
||
63 | * Get TVShow genres list |
||
64 | * @param array $options |
||
65 | * @return \Generator |
||
66 | */ |
||
67 | 2 | public function getTVShowGenres(array $options = array()) : \Generator |
|
73 | |||
74 | /** |
||
75 | * Get Job list |
||
76 | * @param array $options |
||
77 | * @return \Generator|\stdClass |
||
78 | */ |
||
79 | 2 | public function getJobsList(array $options = array()) : \Generator |
|
85 | } |
||
86 |