src/MalScraper/Model/General/ProducerModel.php
private function getAnimeGenre($each_anime)
    {
        $genre = [];
        $genre_area = $each_anime->find('div[class="genres js-genre"]', 0);
        foreach ($genre_area->find('a') as $each_genre) {
            $genre[] = $each_genre->plaintext;
        }

        return $genre;
    }
private function getAnimeGenre($each_anime)
    {
        $genre = [];
        $genre_area = $each_anime->find('div[class="genres js-genre"]', 0);
        foreach ($genre_area->find('a') as $each_genre) {
            $genre[] = $each_genre->plaintext;
        }

        return $genre;
    }
private function getAnimeGenre ( $ each_anime ) { $ genre = [ ] ; $ genre_area = $ each_anime -> find ( 'div[class="genres js-genre"]' , 0 ) ; foreach ( $ genre_area -> find ( 'a' ) as $ each_genre ) { $ genre [ ] = $ each_genre -> plaintext ; } return $ genre ; }
Get anime genre.

@param \simplehtmldom_1_5\simple_html_dom $each_anime

@return array
Get anime genre .