| Total Complexity | 4 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 26 | class MovieVideos |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * Tmdb object |
||
| 30 | * @var TmdbInterface |
||
| 31 | */ |
||
| 32 | private $tmdb = null; |
||
| 33 | /** |
||
| 34 | * Logger object |
||
| 35 | * @var \Psr\Log\LoggerInterface |
||
| 36 | */ |
||
| 37 | protected $logger = null; |
||
| 38 | /** |
||
| 39 | * Params |
||
| 40 | * @var array |
||
| 41 | */ |
||
| 42 | protected $params = null; |
||
| 43 | /** |
||
| 44 | * Data |
||
| 45 | * @var \stdClass |
||
| 46 | */ |
||
| 47 | protected $data = null; |
||
| 48 | /** |
||
| 49 | * Options array |
||
| 50 | * @var array |
||
| 51 | */ |
||
| 52 | protected $options; |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Constructor |
||
| 56 | * @param TmdbInterface $tmdb |
||
| 57 | * @param int $movie_id |
||
| 58 | * @param array $options |
||
| 59 | */ |
||
| 60 | 3 | public function __construct(TmdbInterface $tmdb, int $movie_id, array $options = array()) |
|
| 66 | 3 | } |
|
| 67 | |||
| 68 | 3 | public function getVideos() : \Generator |
|
| 79 |