Adding missing method for manga collection

This commit is contained in:
Timothy Warren 2017-09-15 15:05:35 -04:00
vanhempi 4b248eb8cf
commit 23552d62b1
1 muutettua tiedostoa jossa 11 lisäystä ja 0 poistoa

Näytä tiedosto

@ -84,6 +84,17 @@ class Manga extends API
return $this->kitsuModel->getManga($manga_id);
}
/**
* Get anime by its kitsu id
*
* @param string $animeId
* @return array
*/
public function getMangaById(string $animeId): array
{
return $this->kitsuModel->getMangaById($animeId);
}
/**
* Get information about a specific list item
* for editing/updating that item