src/VfacTmdb/Items/MovieCredit.php 1 location
|
@@ 65-71 (lines=7) @@
|
| 62 |
|
* @param int $movie_id |
| 63 |
|
* @param array $options |
| 64 |
|
*/ |
| 65 |
|
public function __construct(TmdbInterface $tmdb, int $movie_id, array $options = array()) |
| 66 |
|
{ |
| 67 |
|
$this->tmdb = $tmdb; |
| 68 |
|
$this->logger = $tmdb->getLogger(); |
| 69 |
|
$this->data = $this->tmdb->getRequest('movie/' . $movie_id . '/credits'); |
| 70 |
|
$this->options = $options; |
| 71 |
|
} |
| 72 |
|
|
| 73 |
|
/** |
| 74 |
|
* Crew |
src/VfacTmdb/Items/MovieVideos.php 1 location
|
@@ 60-66 (lines=7) @@
|
| 57 |
|
* @param int $movie_id |
| 58 |
|
* @param array $options |
| 59 |
|
*/ |
| 60 |
|
public function __construct(TmdbInterface $tmdb, int $movie_id, array $options = array()) |
| 61 |
|
{ |
| 62 |
|
$this->tmdb = $tmdb; |
| 63 |
|
$this->logger = $tmdb->getLogger(); |
| 64 |
|
$this->data = $this->tmdb->getRequest('movie/' . $movie_id . '/videos'); |
| 65 |
|
$this->options = $options; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
public function getVideos() : \Generator |
| 69 |
|
{ |