|
@@ -90,7 +90,6 @@ class TmdbApiService
|
|
|
public function hydrateFilm($filmTmdbId): Film
|
|
|
{
|
|
|
$filmTmdb = json_decode($this->getDetailMovie($filmTmdbId));
|
|
|
- dump($filmTmdb);
|
|
|
$film = new Film();
|
|
|
$film
|
|
|
->setTitre($filmTmdb->title)
|
|
@@ -148,7 +147,6 @@ class TmdbApiService
|
|
|
public function getOneVideo($detailMovie): array
|
|
|
{
|
|
|
foreach($detailMovie->videos->results as $video) {
|
|
|
- dump($video);
|
|
|
if (
|
|
|
($video->site === "YouTube" || $video->site === "Vimeo" || $video->site === "DailyMotion") &&
|
|
|
$video->type === "Trailer" &&
|