diff options
| author | horus | 2020-02-24 02:47:52 +0100 |
|---|---|---|
| committer | horus | 2020-02-24 02:47:52 +0100 |
| commit | 420e44e0fe4623a439e26dfd0526ee5ef606a170 (patch) | |
| tree | 1669604f8db3382da7f9e2fb0e492013a04eb839 /app/Anime.php | |
| parent | b6e4ea17a3a6dce208c30418a7a3a898b83d6938 (diff) | |
| download | senpai-420e44e0fe4623a439e26dfd0526ee5ef606a170.tar.gz | |
Crude workaround.
Diffstat (limited to 'app/Anime.php')
| -rw-r--r-- | app/Anime.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Anime.php b/app/Anime.php index e19e214..ac5c650 100644 --- a/app/Anime.php +++ b/app/Anime.php @@ -10,6 +10,7 @@ use Jikan\MyAnimeList\MalClient; class Anime extends Model { + /* public $id; public $mal_id; @@ -22,6 +23,7 @@ class Anime extends Model { public $title_pref; public $type; + */ private $animeInfo; @@ -53,6 +55,12 @@ class Anime extends Model { } } + /* + public function getStats() { + return $this->hasMany('App\AnimeStats'); + } +*/ + protected function getInfo() { return $this->animeInfo; } |
